Copy shortcut link to folder on C:/ drive

I am working to copy a shortcut link to a folder on the C:/ drive. I have got it to work using Kace but not the way we want.

I have zipped up the shortcut link uploaded it as a dependency and unzipped it using scripting but that adds and extra folder to the path, we just want the link in the folder specified folder.

I have also tried copying the file to the folder, however when I upload the link to the dependencies section it makes it into an application file not a shortcut file.

Is there any way to perfect this?

Thank you.

0 Comments   [ + ] Show comments

Answers (2)

Posted by: feeldamped 1 year ago
Third Degree Blue Belt

Here is how I setup icons..

.zip the shortcut link(s)


Add that as a dependencies.

Then tell the script to unzip to the folder you want the icon to appear:


In this one it is going to the Public Desktop folder - so it appears no matter which account is signed in.

The above would also work if I had more than one shortcut file in the .zip. It would just unzip them all to C:\Users\Public\Desktop.


Posted by: SMal.tmcc 1 year ago
Red Belt

The SMA auto unzips the attached zip file to the working directory.


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