Modify target for shortcut

Started by mtruong1, September 18, 2014, 12:02:14 PM

Previous topic - Next topic

mtruong1

I have a shortcut and this shortcut pointing to target

"C:\users\administrator\appdata\roaming\vseeinstall\vsee.exe".

Now, I want to add the following "private_server https://vseenow.ah.com -bw 1000" to the end of the target,
That is,

"C:\users\administrator\appdata\roaming\vseeinstall\vsee.exe" -private_server https://vseenow.ah.com -bw 1000

How I can do this with winbatch??


td

You can use the 'ShortcutEdit' function to modify a shortcut. You will need to identify the name and location of the shortcut's '.lnk' file before you call the function. For example, desktop shortcuts for a specific user can be found in C:\Users\<username>\Desktop on Windows 7.
"No one who sees a peregrine falcon fly can ever forget the beauty and thrill of that flight."
  - Dr. Tom Cade