Message 1 of 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi. How can I wait for a Shell command to finish?
The point is to wait for a task to finish:
Call Shell(Command, vbHide)
Maybe I can use "Do" and "Loop"? But I dont know how 😕
I am currently using a 3 seconds pause after shell.
System.Threading.Thread.CurrentThread.Sleep(3000)
But I only want to wait the minimum time. Thanks.
Solved! Go to Solution.