Deleting files via Kscript
I am writing an online kscript that will close out Outlook.exe and Communicator.exe then create 2 registry keys and then finally delete some .oab files out of a userprofile's directory. I got everything working except the last part, deleting the .oab files. I've tried running a bat file that does:
del "%userprofile%\AppData\Local\Microsoft\Outlook\Offline Address Books\7f0eee2e-2f1a-47df-8045-dff248ef125e\*.oab"
This works when I run it locally but if I do it from the K1000 then it doesn't do anything it just says the kscript has completed sucessfully. When I look in the dir the files are still there. I am running it as "All logged in users". Anyone have any suggestions?