/build/static/layout/Breadcrumb_cap_w.png

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 5 years ago
Third Degree Blue Belt
2

Here is how I setup icons..

.zip the shortcut link(s)


B2Gh3evHQfenAAAAAElFTkSuQmCC


Add that as a dependencies.


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


+VmAAAwCMHnDCH4AABwNAQfAACQDIIPAABIBsEHAAAkg+ADAACSQfABAADJIPgAAIBkEHwAAEAyCD4AACAZBB8AAJAIkf8P6eWuR+kTD24AAAAASUVORK5CYII=


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.


Thanks


Posted by: SMal.tmcc 5 years ago
Red Belt
0

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

2Q==

 
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