Computing.Net > Forums > Disk Operating System > want specify enter in a batch file

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

Reply to Message Icon

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.



Sponsored Link
Ads by Google

Response Number 1
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.


0
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Disk Operating System Forum Home


Sponsored links

Ads by Google


Results for: want specify enter in a batch file

Max Line Length in a batch file www.computing.net/answers/dos/max-line-length-in-a-batch-file/9738.html

length of a string in a batch file www.computing.net/answers/dos/length-of-a-string-in-a-batch-file/13650.html

What is >nul mean do in a batch file www.computing.net/answers/dos/what-is-nul-mean-do-in-a-batch-file/197.html