|
-
Sep 20th, 2002, 10:28 AM
#1
batch file question
One of our IT guys has a batch file that launches a program... but the DOS window stays up the whole time.. and when you exit the program it launches it goes back to the batch file and closes.
he wants it to launch the app.. but close the batch file as soon as it launches.. not hang around until you close the app... any ideas?
-
Sep 20th, 2002, 10:35 AM
#2
Hyperactive Member
try using
start
like start MyWinProgram.exe
I think that should work.
-
Sep 20th, 2002, 10:36 AM
#3
PowerPoster
Perhaps this will do:
Shell "c:\test.bat", vbHide
-
Sep 20th, 2002, 10:38 AM
#4
Originally posted by packetVB
try using
start
like start MyWinProgram.exe
I think that should work.
yeah just found this also on computerhope.com.. this works... THANKS
-
Sep 20th, 2002, 10:39 AM
#5
Hyperactive Member
np
-
Sep 20th, 2002, 10:53 AM
#6
Originally posted by IROY55
Perhaps this will do:
Shell "c:\test.bat", vbHide
well they were executing an app from a batch file directly off the drive.. so they weren't calling it from a VB app
-
Sep 20th, 2002, 10:57 AM
#7
PowerPoster
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|