Registry syntax for Windows Startup
You should add " " surrounding the value in the registry for the Windows startup command. If not, if a space is present in the directory, the startup command won't work and will try to open an empty document instead.
Example 1 :
Registry value is : C:\Users\Brad Chad\AppData\Local\Discord\app-0.0.306\Discord.exe --start-minimized
This will result in a startup command line looking like : "C:\Users\Brad" Chad\AppData\Local\Discord\app-0.0.306\Discord.exe --start-minimized
Which will try to access a document named <Brad> in C:\Users\
Example 2 :
Registry value is : "C:\Users\Brad Chad\AppData\Local\Discord\app-0.0.306\Discord.exe" --start-minimized
This will result in a startup command line looking like : "C:\Users\Brad Chad\AppData\Local\Discord\app-0.0.306\Discord.exe" --start-minimized
Which will work as intended.
Please sign in to leave a comment.
Comments
0 comments