Skip to content

Instantly share code, notes, and snippets.

@ndarville
Last active June 24, 2020 14:09
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ndarville/988684f7c809ff0d471dba54ce1adb2e to your computer and use it in GitHub Desktop.
Save ndarville/988684f7c809ff0d471dba54ce1adb2e to your computer and use it in GitHub Desktop.
Batch script to delay startup of applications after boot
@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"
@ndarville
Copy link
Author

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.

@JXWw3wLD9LArcR7c
Copy link

JXWw3wLD9LArcR7c commented Feb 3, 2020

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)

@ndarville
Copy link
Author

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