Jump to content

Recommended Posts

Posted

How to make a pause between two commands ?

1 second for example

because the the first install take more time, and the second command will run before the first is not really ended.

Tnx for help

Jack


Posted

Example:

start /wait setup1.exe
ping -n 11 127.0.0.1>nul | Echo sleeping 10 seconds
start /wait setup2.exe

That will pause for 10 seconds (the number 11 is because it has to be one unit more than the number of seconds to pause).

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
  • Recently Browsing   0 members

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