Hi everyone,
I must say this looks like a very nice community to spend time in, I haven't seen one flame or troll in all the messages!
I do a ton of virus scanning on the test machines at my tech shop. I generally keep the AV on my test machine extremely up to date, connect foreign hard drives to it and remove virii in that way, but the temp and temporary internet files on most of my end users machines will generally kill an extra hour of scan time if I don't manually go in and remove them.
I'm trying to figure out a way for a script of some kind to go into each user under the Documents and Settings folder and remove the temp and temporary internet files folders prior to scanning. Windows has a few automatic users there all the time such as All Users, Administrator, LocalService, etc. My question is, Is there a way to have a system variable or something that can remove those temp folders out of the Local settings folder?
Or perhaps a cmd line command to remove dir anything with temp recursively or something?
Is there a system variable that stands for "I dont care what it is, but if it has "temp" in it I want it gone!" ?
Any suggestions are welcomed, thanks!