-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed DontRunOnStartup.bat
- Loading branch information
Showing
2 changed files
with
2 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
@echo off | ||
|
||
del "C:\Users\%USERNAME%\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\TwentyTwentyTwenty.exe" && echo Sucess! This app shouldn't run on startup now | ||
del "C:\Users\%USERNAME%\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\TwentyTwentyTwenty.lnk" && echo Success! This app shouldn't run on startup now | ||
|
||
timeout /t 5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
@echo off | ||
|
||
powershell "$s=(New-Object -COM WScript.Shell).CreateShortcut('%userprofile%\Start Menu\Programs\Startup\TwentyTwentyTwenty.lnk');$s.TargetPath='%~dp0/TwentyTwentyTwenty.exe';$s.Save()" && echo Sucess! This app should run on startup now | ||
powershell "$s=(New-Object -COM WScript.Shell).CreateShortcut('%userprofile%\Start Menu\Programs\Startup\TwentyTwentyTwenty.lnk');$s.TargetPath='%~dp0/TwentyTwentyTwenty.exe';$s.Save()" && echo Success! This app should run on startup now | ||
|
||
timeout /t 5 |