/build/static/layout/Breadcrumb_cap_w.png

Scripting Question


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

03/29/2018 1608 views

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

Comments


All Answers

2
This is the way i do


Answered 03/30/2018 by: c.castellari
Orange Senior Belt

  • Would it be a url file or .lnk file (C:\Users\Public\Desktop\"filename.lnk")

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