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:
Cancel
1 Comment   [ + ] Show Comment

Comments

  • Try the move command
Please log in to comment

Answer Chosen by the Author

0
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"


exit
=================


Select your computers/labels to target
Set you schedule options
Upload the .bat as a dependency
Task 1: 
Verify
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"
SAVE


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

  • thank you very much rockhead44
Please log in to comment

Answers

Answer this question or Comment on this question for clarity