• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Win7 Desktop Shortcut with switch

jimbofoxman

Senior member
Did some searching trying to find this, but not finding a solution.........I'm sure it's something simple stupid.

I want to create a shortcut icon on someones desktop to run a command line program that has a switch. If you just create a shortcut to the command line it sets the target to....

"C: \Program Files\SyncToy 2.1\SyncToyCmd.exe" (the space is not there after C:, forum wants to put a smiley face)

synctoycmd.exe -R is what I am looking for. -R runs all syncs.

-R inside quotes doesn't work, outside runs the command line program but doesn't trigger the run all.

What am I missing?

Thanks
 
DISREGARD!

I did have the syntax right outside the quotes. There was an error flashing up in a command prompt that I wasn't catching.
 
You could also put a batch file on the desktop.

Code:
Start "" /Wait "C:\Program Files\SyncToy 2.1\SyncToyCmd.exe" -r
pause
shutdown -s
Save in Notepad as Sync.bat.
 
Back
Top