Originally Posted by
Hightower
So Bossman gave me the solution to a problem we're having with Symantec, and rather than run the solution manually on the machines as and when they suffer the problem (as it takes about 10 minutes) I thought I'd put it in a batch file to do it for me.
It's about done, but I need two things adding to my batch file:
1) Delete all folders (and files within them) from C:\Program Files\Common Files\Symantec Shared\VirusDefs where the folder name matches ????????.??? (where ? is a single wild card character)
2) Delete all folders (and files within them) from C:\Documents and Settings\All Users\Application Data\Symantec\Symantec AntiVirus Corporate Edition\7.5\I2_LDVP.VDB
The trouble I'm having is that you cannot use wild card characters in a batch file command such as RMDIR or RD. I think the way to do this would be with a loop, but I'm not sure where to start so any help would be appreciated.
Thanks, :D