Adding a on a command in a script - TechRepublic
General discussion
March 31, 2005 at 07:12 AM
ivan the terrible

Adding a <CR> on a command in a script

by ivan the terrible . Updated 21 years, 3 months ago

I have a added a Windows based command to a simple windows shell script that requires to be entered before the command will run. Currently the script hangs unless I press return then it will continue. Can a be added to the end of the command somehow?

Can this be done in Windows shell script or can it be done in WSH or a VBScript? Any examples would be helpful.

This discussion is locked

All Comments