Skip to content

Commit

Permalink
Add powershell timout
Browse files Browse the repository at this point in the history
  • Loading branch information
fawazahmed0 committed Nov 22, 2019
1 parent 37606fd commit aff65dc
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Latest-ADB-Installer.bat
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,9 @@ echo for Proper USB drivers installation, you can do this now, while
echo the installation is running [Optional Step, Highly recommended]

:: Adding timout
:: Source: https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/timeout_1
timeout /t 5 /nobreak > nul 2>&1
:: Source: http://blog.bitcollectors.com/adam/2015/06/waiting-in-a-batch-file/
:: Source: https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.utility/start-sleep?view=powershell-6
PowerShell -Command "Start-Sleep -s 5" > nul 2>&1

echo.
echo Starting Installation
Expand Down

0 comments on commit aff65dc

Please sign in to comment.