I am writing a script package. After the stage in the command window, he says "press any key to continue" and stops, and after which something is pressed, the script continues. How can I prevent this in a script?
To output the command PAUSE:
PAUSE
http://ss64.com/nt/pause.html
The problem with PAUSE is that it is often necessary when running a batch file from Windows Explorer (or you cannot read the result), but this is annoying on the command line. I asked about it here, and I was offered a great trick:
Conditional PAUSE (not on the command line)
a > nul , .,.
you can call another script like this from the source, @echo | call otherScript.bat please find a detailed answer here Another thread with an example
@echo | call otherScript.bat