Code Comments
Programming Forum and web based access to our favorite programming groups.I have an application where I want to start multiple instances of the same VB6 program with different command line arguments for each instanciation. I thought I could write a bat file as follows.. MyProgram "This is the first command line argument" MyProgram "This is the second command line argument" However, when the bat file executes, the command line window opens and only the first program runs. After I exit the first program, the second one starts. When I exit the second program, the command line window exits. Is there a way to use a bat file to start both programs and then have the command line window close? If the bat approach wont work, is there another simple way?
Post Follow-up to this messageTry putting "start " in front of "MyProgram"... -- Working Without a .NET? http://classicvb.org/petition hamil wrote: > I have an application where I want to start multiple instances of the > same VB6 program with different command line arguments for each > instanciation. I thought I could write a bat file as follows.. > > MyProgram "This is the first command line argument" > MyProgram "This is the second command line argument" > > However, when the bat file executes, the command line window opens > and only the first program runs. After I exit the first program, the > second one starts. When I exit the second program, the command line > window exits. > > Is there a way to use a bat file to start both programs and then have > the command line window close? If the bat approach wont work, is > there another simple way?
Post Follow-up to this messagePerfect! Thanks H "Karl E. Peterson" wrote: > Try putting "start " in front of "MyProgram"... > -- > Working Without a .NET? > http://classicvb.org/petition > > > hamil wrote: > > > >
Post Follow-up to this message
Show a Printable Version
Email This Page to Someone!
Receive updates to this thread
Powered by vBulletin
Copyright 2000-2006 Jelsoft Enterprises Limited.