Loading |
VBScript |
JavaScript |
Powershell |
Search Options: Delete All the .CSG Files on Drive C of a ComputerContent of Delete All the .CSG Files on Drive C of a Computer.vbsMD5 Hash: 1CE6842304AA0C7A2660F24B42C4BAE5 |
||
strComputer = "."
Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2") Set colFiles = objWMIService.ExecQuery _ ("Select * from CIM_DataFile Where Drive = 'C:' and Extension = 'csg'") For Each objFile in colFiles objFile.Delete Next | ||
© 2008 - 2013 Boris Toll :: Scripts available: 6.481 :: :: scriptbox.toll.at :: :: powered by www.toll.at :: |