/build/static/layout/Breadcrumb_cap_w.png

Desktop Shortcut Wizard - Change Shortcut location

Working with the Desktop Shortcut Wizard, and so far have the shortcut I want, pushing out no problem. However I want the shortcut to be placed in:

C:\Users\Public\Desktop

Right now it pushes the shortcut to whatever user is signed into the system.

I would rather have it stored in the location above, as the shortcut in question is temporary..and needs to be deleted at some point (which I will also script). We cannot rely on staff to do this, which may leave them clicking on a short cut that is no longer valid.

Any help would be great..hopefully it is something simple.

0 Comments   [ + ] Show comments

Answers (6)

Posted by: GillySpy 13 years ago
7th Degree Black Belt
0
Where does your script copy it to now? Is it relying on a relative location? I see no reason why it couldn't put it there. Do you have details on your script?
Posted by: hutcha4113 13 years ago
Second Degree Blue Belt
0
Currently the shortcut goes to my user profile (testing with my account) - so C:\Users\<username>\Desktop.

Here is the programming in the script:

Launch “$(KACE_DEPENDENCY_DIR)\ShortcutCreator.exe” with params “ -location=”Users\Public\Desktop“ -name=”Shortcut Name“ -target=”C:\Program Files\Internet Explorer\iexplore.exe“ -startin=”“”.

The item in Bold/Italics/Underlined, is where I attempted to make the change. Originally just had "-location="Desktop".
Posted by: GillySpy 13 years ago
7th Degree Black Belt
0
What if you put -location="c:\users\public\deskop" ?
Posted by: hutcha4113 13 years ago
Second Degree Blue Belt
0
I tried that first...no joy.
Posted by: GillySpy 13 years ago
7th Degree Black Belt
0
Darn, now you can tell how much i use that exe. Well, it's a script so you can add a task to copy it from the current user's folder to the all user's folder? Or create your own shortcut copy script that has it zipped or something.
Posted by: hutcha4113 13 years ago
Second Degree Blue Belt
0
Guess I will end up using a batch file, via scripting. I can create/transfer the shortcut to where I want using that method. Strange though...I would have thought the built in tool would have that flexibility. Maybe I am putting the parameters in wrong....but each variation I put in...did not make a difference...almost like the -location switch does nothing at all.
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ