Loading |
VBScript |
JavaScript |
Powershell |
Search Options: Rename a Folders via Win32_DirectoryContent of Rename a Folders via Win32_Directory.vbsMD5 Hash: E0801059E33BC21E2CF2E432465E6A69 |
||
strComputer = "."
Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2") Set colFolders = objWMIService.ExecQuery _ ("Select * From Win32_Directory Where Name = 'C:\\January'") For Each objFolder in colFolders strNewName = objFolder.Name & "_2006" objFolder.Rename strNewName Next | ||
© 2008 - 2013 Boris Toll :: Scripts available: 6.481 :: :: scriptbox.toll.at :: :: powered by www.toll.at :: |