Computing.Net > Forums > Programming > carriage return in batch files

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.

carriage return in batch files

Reply to Message Icon

Name: prog_guru
Date: December 6, 2005 at 11:38:25 Pacific
OS: XP
CPU/Ram: 1GB
Comment:

I am trying to write a simple batch file
It looks like this
xyz.exe abc1.sim
xyz.exe abc2.sim

abc1.sim and abc2.sim are my input files.
When i execute this batch file it executes xyz.exe and runs abc1.sim.
Then it asks the user to press any key to continue before it starts executing the next line.

Is there any way to run the whole batch file without any user interaction.
I know this is a very basic question but any help will be appreciated.



Sponsored Link
Ads by Google

Response Number 1
Name: IVO
Date: December 6, 2005 at 12:46:34 Pacific
Reply:

The following may work or may not... just try

Echo.|xyz.exe abc1.sim
Echo.|xyz.exe abc2.sim


0

Response Number 2
Name: prog_guru
Date: December 6, 2005 at 13:36:07 Pacific
Reply:

Thanks
It works


0

Sponsored Link
Ads by Google
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 Programming Forum Home


Sponsored links

Ads by Google


Results for: carriage return in batch files

Date Routines in Batch Files www.computing.net/answers/programming/date-routines-in-batch-files/15590.html

Error level in batch file www.computing.net/answers/programming/error-level-in-batch-file/16461.html

%DATE% in batch files with win98 www.computing.net/answers/programming/date-in-batch-files-with-win98/4007.html