Computer Hope

Other => Other => Topic started by: Joel on March 24, 2004, 10:28:03 AM

Title: Auto Closing A Batch File
Post by: Joel on March 24, 2004, 10:28:03 AM
I'm trying to run a .bat file that will open two programs (used frequently) and then close out the MS-DOS command window.  I can't get both programs to run at once (the only way the file works is if I close out the first program, then the second program runs, and when the second program is run the command window closes).  Any help would be great as I've not done that much .bat work.

This is my file as it stands now:
"C:\Novell\GroupWise\GrpWise.exe
C:\Novell\GroupWise\Notify.exe
exit"

Thanks
Title: Re: Auto Closing A Batch File
Post by: SchmidtJ on March 24, 2004, 09:52:18 PM
I would suggest this:

"start C:\Novell\GroupW~1\GrpWise.exe
start C:\Novell\GroupW~1\Notify.exe
exit"

I think that will work. Uhhh, I just thought of something... maybe it only works in XP.
Title: Re: Auto Closing A Batch File
Post by: lovedumplingx on March 25, 2004, 06:41:01 AM
Thanks a lot.  I tried "start" in varying forms yesterday but I never got it right and this worked fantasticly.  Thanks much. (PS I made a login so that's why the username is different)