I currently have a batch file I use to delete 2 folders off of my profile on my domain, it is as follows.
IF EXIST "C:\Documents and Settings\%Username%\Application Data\Mozilla" (
rmdir "C:\Documents and Settings\%Username%\Application Data\Mozilla" /s /q
)
IF EXIST "C:\Documents and Settings\%Username%\Application Data\Microsoft\CryptnetUrlCache" (
rmdir "C:\Documents and Settings\%Username%\Application Data\Microsoft\CryptnetUrlCache" /s /q
)
But since finding the success of this batch file, we decided we would like to implement it on all users files on our server. The \%Username%\
portion will only delete the user logged in currently correct? I would like it to delete it from every profile.
E:\Profiles\
is where we store all of our users profiles.