/build/static/layout/Breadcrumb_cap_w.png

Script batch file dependency name

I had to tweak a Windows batch file in one of my online kscripts, and when I save it, the the batch dependency name changes (kacexxxx.bat). That has always happened to me, but I've always been able to go back and change the batch file name in the task and save it again. After that, the batch names match. Today, the dependency name changes every time I change the task batch name and save. Here is an example.





 Is this a bug, or am I doing something wrong?

4 Comments   [ + ] Show comments
  • what is the KACE version? - aragorn.2003 9 years ago
    • 6.3.113397.
      By the way, I noticed that the xml editor lists the correct dependency name. I haven't tested yet to see if it ignores the batch name in the task, but will in a bit. - tpr 9 years ago
  • I am trying to figure out how you know what to call the bat file. ex) kace2345.bat I see a lot of custom scripts that have .bat dependencies but don't see the link where the name comes from. I notice when I make a dependency and push that script to a pc, a unique folder is made in the kbot folder on the target pc. Is this similar? - MaineITguy 9 years ago
    • I used to get the file name from right under the Dependencies section, but that doesn't appear to matter anymore. If you click "Edit XML" and look in the dependencies section, you can see the batch name and the path with the new folder name that gets created. - tpr 9 years ago
  • I find it by sending script and looking. I guess you could use $(KACE_DEPENDENCY_DIR) instead of the long path C:\ProgramData\Dell\KACE\kbots_cache\packages\kbots\XXX - MaineITguy 9 years ago
  • I see what you mean now. : ) thanks. - MaineITguy 9 years ago
    • Excellent. Cheers. - tpr 9 years ago

Answers (0)

Be the first to answer this question

Don't be a Stranger!

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

Sign up! or login

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