Jump to content

Sky Slate Blueberry Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate
Photo

RunWait - is this what I need?



  • Please log in to reply
1 reply to this topic
OM2
  • Members
  • 190 posts
  • Last active: Nov 06 2015 10:32 AM
  • Joined: 26 May 2010

I need to run a DOS batch file. Once that's completed, I want to open HTML files that get created by the batch file.

 

What I've done so far is wait 2 seconds and then launch the HTML files - the batch files takes a fraction of a second to run

 

Instead of this though, should I be using RunWait?

The docs say "Unlike Run, RunWait will wait until the program finishes before continuing." - so I guess YES is the answer?

 

I thought I'd ask here for confirmation :)

The worst thing would be for the program to run and then not notice that something hadn't quite worked

 

Thanks

 

 

OM

 



flyingDman
  • Spam Officer
  • 2186 posts
  • Last active: Nov 07 2015 08:15 AM
  • Joined: 27 Feb 2009
✓  Best Answer

Yes RunWait with batch files. 


Marine Corps Gen. Joseph Dunford told senators at his Joint Chiefs of Staff confirmation hearing : “If you want to talk about a nation that could pose an existential threat to the United States, I'd have to point to Russia. And if you look at their behavior, it's nothing short of alarming.”