![]() Loading |
| VBScript |
| JavaScript |
| Powershell |
Search Options: Delete All the .CSG Files on Drive C of a Computer
|
||
|
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 :: | ||