I am having issues running a script to remove the .xml files from the following location on assigned devices:

C:\Program Files (x86)\Novell\ZENworks\work\inventory

The way I have done the script is:

1. Created the following .bat script and assigned it to run under the bundle ACtion > Launch > Define your Own script

echo Batch to delete file

del "C:\Program Files (x86)\Novell\ZENworks\work\inventory\*.xml" /s /f /q

echo Done!

Have also added the device on which the script is to be run however after running the script the .xml files are still not removed even after the launch action completes