Loading |
VBScript |
JavaScript |
Powershell |
Search Options: List All Disk DrivesContent of List All Disk Drives.vbsMD5 Hash: E3852A3269006BD68118FF6791028DB2 |
||
' Description: Demonstration script that uses the FileSystemObject to return a list of all the disk drives installed on a computer. Script must be run on the local computer.
Set objFSO = CreateObject("Scripting.FileSystemObject") Set colDrives = objFSO.Drives For Each objDrive in colDrives Wscript.Echo "Drive letter: " & objDrive.DriveLetter Next | ||
© 2008 - 2013 Boris Toll :: Scripts available: 6.481 :: :: scriptbox.toll.at :: :: powered by www.toll.at :: |