I want to have a batch file that will delete all the folders and files in my cache folder for my wireless toolkit.
Currently I have the following:
cd
You can do this using del and the /S flag (to tell it to recurse all files from all subdirectories):
del
/S
del /S C:\Path\to\directory\*
The RD command can also be used. Recursively delete quietly without a prompt:
@RD /S /Q %VAR_PATH%
Rmdir (rd)