|
-
Oct 30th, 1999, 09:35 AM
#1
Thread Starter
New Member
Does anyone know a good way to run a windowless DOS app invisibly in the background? Along with finding out when it's done?
-
Oct 31st, 1999, 07:59 PM
#2
Lively Member
If you have a batch file which calls the program, then you can.
Kill "c:\finished.txt" 'make sure there's
'no file indcator left
call shell("mybatch.bat",vbhide)
do while dir("c:\finished.txt")=""
loop
The batch file should have a final line which
reads something like
dir >>c:\finished.txt
To create the finished.txt file
Cheers
Chris
-
Aug 5th, 2001, 10:58 AM
#3
PowerPoster
Well, you can use ShellExecute with ShellAndWait APIs.
-
Mar 29th, 2004, 01:44 AM
#4
Hyperactive Member
-
Mar 29th, 2004, 02:16 AM
#5
Fanatic Member
or u could do a shellandwait function...give a search or search a thread i posted (replyed) with dos output on text box.
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
|