|
Answer» Hey its my first time here but mostly everyone seems friendly and seems to know what theyre doing
When I WRITE a little batch FILE such as a simple Hello World batch (im still learning the commands and such heh) the window closes the very millisecond after all its commands are done (in this case, "echo Hello World") it simple closes. Is there a way to make it stay open without using the pause syntax? Thanks in advance!
HDL_CinC_DragonFriendly -- you know how to sweet talk us !!
It would seem to me that you have a batch file and you are double-clicking on it from explorer (or running from the run prompt)
The default behaviour is then to open a command window execute the command close the window
the easiest way to see the output is to open a command window in the directory your batch file exists in and type in the NAME of the batch fiel there, the window will stay open, showing you the result of your batch
(hint -- grab the powertoys from microsoft and load up the command window here toy -- you can then right-click on any folder in explorer and select the 'Open command window here' option that opens cmd with the selected folder being the current one)
Graham Hey thanks, ILL definitely do that! Sorry for the late reply, I was away all weekend. Thanks again for the HELP!
EDIT---
Works perfectly =D thanks man
|