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

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

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?
Answered 10/14/2011 by: GillySpy
Seventh Degree Black Belt

Please log in to comment
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".
Answered 10/14/2011 by: hutcha4113
Second Degree Blue Belt

Please log in to comment
0
What if you put -location="c:\users\public\deskop" ?
Answered 10/14/2011 by: GillySpy
Seventh Degree Black Belt

Please log in to comment
0
I tried that first...no joy.
Answered 10/14/2011 by: hutcha4113
Second Degree Blue Belt

Please log in to comment
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.
Answered 10/14/2011 by: GillySpy
Seventh Degree Black Belt

Please log in to comment
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.
Answered 10/18/2011 by: hutcha4113
Second Degree Blue Belt

Please log in to comment
Answer this question or Comment on this question for clarity