Loading |
VBScript |
JavaScript |
Powershell |
Search Options: List a Specific Set of FoldersContent of List a Specific Set of Folders.vbsMD5 Hash: 45E480CAECD08FCD52FCC7581BCADDD9 |
||
' Description: Returns a list of all the hidden folders on a computer.
strComputer = "." Set objWMIService = GetObject("winmgmts:" _ & "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2") Set colFiles = objWMIService.ExecQuery _ ("Select * from Win32_Directory Where Hidden = True") For Each objFile in colFiles Wscript.Echo objFile.Name Next | ||
© 2008 - 2013 Boris Toll :: Scripts available: 6.481 :: :: scriptbox.toll.at :: :: powered by www.toll.at :: |