/build/static/layout/Breadcrumb_cap_w.png

Scripting Question


Copy shortcut link to folder on C:/ drive

07/24/2019 402 views

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

Comments



Community Chosen Answer

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


Answered 07/24/2019 by: feeldamped
Third Degree Blue Belt

All Answers

0

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

2Q==

Answered 07/24/2019 by: SMal.tmcc
Red Belt

Don't be a Stranger!

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

Sign up! or login

View more:

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