/build/static/layout/Breadcrumb_cap_w.png

How do I remove a desktop shortcut using a script in K1000

I've tried to attach a .bat file as a dependency and set the following on Success:


Launch a program

Directory $(KACE_DEPENDENCY_DIR)

File Delete dictaphone icon (this is the name of the file I uploaded as a dependency)

checked the Wait for completion box

left the parameters blank

I saved it and ran it but it fails every time. 

Any suggestions would be appreciated.  Newbie here.


0 Comments   [ + ] Show comments

Answers (1)

Posted by: c.castellari 6 years ago
Senior Purple Belt
1
This is the way i do



Comments:
  • Would it be a url file or .lnk file (C:\Users\Public\Desktop\"filename.lnk") - JordanNolan 6 years ago

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