Looking for step by step instruction on setting up a KACE 1000 script that does the following :

- copy all files from c:\programdata\polaris\5.0\offlinetransaction\ to n:\helpdesk\polarisoflinefiles_backup\
- after fie copy is complete then delete all files in the folder c:\programdata\polaris\5.0\offlinetransaction\

thank you very much for any help
Answer Summary:
1 Comment   [ + ] Show Comment


Please log in to comment

Answer Chosen by the Author

I would create an offline kscript using a .bat file that looks like:

@echo off 

copy "c:\programdata\polaris\5.0\offlinetransaction" "n:\helpdesk\polarisoflinefiles_backup"

timeout /t 5 /nobreak

del /q /f "c:\programdata\polaris\5.0\offlinetransaction"


Select your computers/labels to target
Set you schedule options
Upload the .bat as a dependency
Task 1: 
1. Verify a directory exists : $(KACE_DEPENDENCY_DIR)
On Success
1. Run the batch file (enter name and then the commands)
2. Log Message "Success" to "Status"

Answered 01/15/2016 by: rockhead44
Tenth Degree Black Belt

  • thank you very much rockhead44
Please log in to comment


Answer this question or Comment on this question for clarity
Admin Script Editor
Admin Script Editor is an integrated scripting environment available free here at ITNinja