Lazaro Bello
asked this on February 26, 2010 09:33
Is it possible to change/modify an All Users Desktop shortcut to a new target?
Here’s the target of new shortcut.
"C:\Program Files\Java\jre1.6.0_07\bin\javaw.exe"
This is an old shortcut target:
"C:\Program Files\Java\jre1.6.0_06\bin\javaw.exe"
Thank you
Comments
Certainly.
Add your modified shortcut file as an Admin Arsenal dependency. (see attached images)
Right click on your target computer or collection and select Tools\Remote Command.
Enter the command to copy the shortcut file. e.g. "copy java.lnk %public%\desktop /Y"
You can also enter a path without using environment variables. e.g. "copy java.lnk C:\Users\Public\Desktop /Y"
I received the following error using the remote command.
Error running command: Error code: 1
The system cannot find the file specified.
Did you put the lnk file in the dependencies? Will you post a screenshot of your dependencies and the remote command result?
Make sure that the Include Dependencies check box is checked. Also, since your file name and target have spaces in the names you will need to enclose these with quotes.
e.g. copy "Lotus Notes 8.5.lnk" "C:\Documents and Settings\All Users\Desktop" /Y