..
Drives property returns a collection containing all the objects the computer drive. Its use is very simple:
Set fs = Server.CreateObject ("Scripting.FileSystemObject")
driveobj = fs.Drives
'I do a loop to print the screen of your computer drives
For Each Drive In driveobj
Response.Write drive.DriveLetter
Next
'I cleaned
September driveobj = Nothing
Set fs = Nothing
| |
ASP (Advanced)
Full course for creating dynamic Web sites. From 39 €. |
| |
ASP Zero (Ebook)
Learning Microsoft ASP and VBScript from scratch. At only 29 €. |
| |
ASP and Access (Ebook)
Managing a MS Access database with ASP. At only 29 €. |