By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

running a program from cmdline versus in batch file

I have a batch (.btm) file where it does some work and then runs an executable. When it starts the program, the batch file pauses until the program exits. However, if I run that same program directly from the command line, it starts the program and immediately returns my prompt. Any idea what's going on? (The desired behavior is that starting the program in the batch file would immediately resume operation within the batch file.)

In case it matters, the program is "C:\Program Files (x86)\Roxio\OEM\Creator Classic 12\Creator12OEM.exe". No command line parameters, no 'start' in front of it, or any other funny business.
To start an application without pausing the batch file, use the START command. There's an .INI directive if you want to make the command line work the same as batch files in this respect -- see HELP WAITING -- but you probably don't really want that.

Similar threads