Loading |
VBScript |
JavaScript |
Powershell |
Search Options: List Items in the Printers and Faxes FolderContent of List Items in the Printers and Faxes Folder.vbsMD5 Hash: 34FF2EE5125C798E324BD31779007716 |
||
' Description: Reports the path to the Printers and Faxes folder, and then lists any items found in that folder. For Windows NT 4.0 and Windows 98, this script requires Windows Script Host 5.1 and Internet Explorer 4.0 or later.
Const PRINTERS_AND_FAXES = &H4& Set objShell = CreateObject("Shell.Application") Set objFolder = objShell.Namespace(PRINTERS_AND_FAXES) Set objFolderItem = objFolder.Self Wscript.Echo objFolderItem.Path Set colItems = objFolder.Items For Each objItem in colItems Wscript.Echo objItem.Name Next | ||
© 2008 - 2013 Boris Toll :: Scripts available: 6.481 :: :: scriptbox.toll.at :: :: powered by www.toll.at :: |