Last active
June 24, 2020 14:09
-
-
Save ndarville/988684f7c809ff0d471dba54ce1adb2e to your computer and use it in GitHub Desktop.
Batch script to delay startup of applications after boot
This file contains hidden or 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
@echo off | |
timeout /t 120 | |
start itunes | |
start /min %APPDATA%\Dropbox\bin\Dropbox.exe | |
start /min "" "C:\Program Files (x86)\Battle.net\Battle.net" | |
start /min "" "%LOCALAPPDATA%\Discord\app-0.0.297\Discord.exe" |
Figuring out tech stuff through online communities is the worst, glad it worked out.
The Discord command is kind of outdated, because the versioning changes with every update if I recall correctly. But as a general example, it does the job.
You should use "%LOCALAPPDATA%\Discord\Update.exe" --processStart Discord.exe instead
This is what discord uses when it opens at startup (I found out by right clicking the shortcut that was made on my desktop)
Oh awesome, I’ll start using that then, cheers.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Using start for me makes it so the program runs through cmd intead
So I just do cd and then I type program.exe
I learned about "/min" command though, that's cool
(I ended here trying to look for a post I made on Reddit, can't find it. Some dumb asshole basically tried to help and when I told him that it didn't work and I did something wrong he was just like "You clearly don't know anything about batch." Well, didn't I say that at the very beggining? Lol. I figure out how to make it today after so many months, I gave up because I was too busy to be bothered and that guy basically told me to fuck off)