Computer Hope

Microsoft => Microsoft DOS => Topic started by: juan503 on May 31, 2011, 11:49:22 AM

Title: batch file wont back to prompt
Post by: juan503 on May 31, 2011, 11:49:22 AM
hi there
'
cd\
cd windows
 and there is no wait for type commands such as dir , copy , ...
its end immediately-i want batch file wait for my commands-
can i do this?
by the way thanku
Title: Re: batch file wont back to prompt
Post by: gpl on May 31, 2011, 12:12:50 PM
open a command window:
start|run
then type cmd and either press return or click OK
Title: Re: batch file wont back to prompt
Post by: Salmon Trout on May 31, 2011, 12:32:22 PM
If you are running a batch file from Windows Explorer by double clicking it, it will just vanish when it has completed all the commands. It sounds like what you want is a command prompt window, so do what gpl said.
Title: Re: batch file wont back to prompt
Post by: a117yogi on June 03, 2011, 02:02:38 PM
add cmd at end