need to delete temp folder for all user on domain at logoff
- would like to use group policy
- delete all files and subfolder in temp folder
del /s /q /f "%temp%\*.*"
I entered that in the cmd - it deletes all files but subfolders still remains(but files empty)
if I need to create a .bat file how would that .bat file look like and how would I add that to GPO to run every time user logs off - to delete all files and subfolder in the temp folder