/build/static/layout/Breadcrumb_cap_w.png

How do I run simple Batch (.bat) files in KACE 6.0?

I go to Launch a program and then what do I put under directory, file, and parameters?

1 Comment   [ + ] Show comment
  • Directory is where you grab the files, file is the name of the application to execute and parameters are the parameters used to execute the application (silent/passive/etc).

    If the installed files of the local machine is all centralized on 1 standard folder, you can point it that particular folder. $(KACE_DEPENDENCY_DIR) will be useful when you load your files under dependency. - 2cents 9 years ago

Answers (2)

Posted by: EdT 9 years ago
Red Belt
4
Batch files should be called using cmd.exe

So the executable should be defined as -  c:\windows\system32\cmd.exe 
The argument should be defined as -  /c <full path to batch file>
Posted by: rockhead44 9 years ago
Red Belt
2
I deploy them using an offline KScript

For Task 1 I use: 
  1. Verify that the directory “$(KACE_DEPENDENCY_DIR)” exists
On Success: 
1. Run the batch file (name of your .bat file)
2. Log "success" to "status"

and set to run at next client check-in
 
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