Using the 'pause' command at the end of a script will prevent the dos-box from closing.
But this 'pause' command is annoying, if the bat-script is call from within an already opened dos-box.
Is there a way to find out if the script was started from command-line?
Thanks
Only 'pause' a batch script if not run from commandline
Moderator: DosItHelp