Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
want specify enter in a batch file
Name: dudecybetron Date: February 9, 2004 at 06:03:55 Pacific OS: win me CPU/Ram: 128 mb
Comment:
guys,
can u please tell me as how to specify a enter (presing enter key) in a batch file.am coding some debug ruotines in a batch file.one of the routines requires a enter at its end.i dont know how to program it in a batch file.
Name: JackG Date: February 9, 2004 at 09:42:16 Pacific
Reply:
You use redirected input to the program when it is started. The redirected input comes from a text file (or pipe) and in the file, the end of line (carriage return) is an enter.
For example, in a batch file you would code:
DEBUG TEST.COM <cmds.txt
Where the "cmds.txt" file contains on each line, the commands to be piped to the program.
Summary: As basic as this should be, I don't know the maximum line length permissible in a batch file. On a command line I know its 127 characters, and I know it's longer in a batch file. Can you help? ...