Jump to content

Run next command after finishing the previous one


PHAK
 Share

Recommended Posts

When I write like this he runs them both together
I want 2 to run after 1

So I thought maybe I'll just put some sleep statements, but then I have to figure out how best to optimize it, AND I have to consider whether others 'computers' speeds because a slow computer would need to have longer delays between commands. That would be impossible to optimize for everyone.

no "sleep"

#RequireAdmin
 Run(@ScriptDir & '\1.exe')

  Run(@ScriptDir & '\2.exe')
Edited by PHAK
Link to comment
Share on other sites

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...