Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
How can you hide the DOS command window from popping up when you execute a bath file?
Or may just make it execute in the back ground
Thanks

@echo off
cls
stuff to do
@exitwill usually work. You might also have to check the close on exit option.
right click on the dos icon for the bat file. Scroll down to and click on properties.... click on the program tab... check the close on exit option.

With the assuming that u r running the Windows operationg system.
U may set how the DOS command window behaves to suite your need everytimes when u executing it.
For more info about setting DOS command windows, pls refer to help supplied on Windows.

What is a bath file? And what do you want to do? You hold alt down and press enter for full screen. you hold ctrl and press esc to put another program in the foreground. What, exactly, are you doing?

Change the way a batch file is called in file types options. Change it to call the batch file w/ a comman dline like this. "START /MINIMIZED /WAIT COMMAND.COM /C[command or batch file and paramaters]" i.e. "START /MINIMIZED /WAIT COMMAND.COM /CATTRIB /S C:\*.*" will run attribute on all the files on drive c in a minimized window. Hope that will help you. NOTE: This option does put an icon down in the task bar while the command is running.

How can you hide the DOS command window from popping up when you execute a bath file?
Or may just make it execute in the back ground
Thanks

![]() |
dos 6.22 bootdisk
|
modem help
|

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |