..


Sponsored Links

GetDrive

The method creates a FileSystemObject object GetDrive Drive object on the specified drive.
The only parameter allowed is drivespec which can be:

  • represented as a single letter drive letter (c), or a letter followed by a colon (c:), or a letter followed by a colon and the slash (c: \);
  • an address of a local network
Example:





 Dim fs, Dr.







 'I create an instance of the FileSystemObject







 Set fs = Server.CreateObject ("Scripting.FileSystemObject")









 'I create the object drives







 September fs.GetDrive = dr ("c: \")









 'I cleaned







 September dr = Nothing







 Set fs = Nothing



In the same category ...
E-Learning
ASP (Advanced) ASP (Advanced)
Full course for creating dynamic Web sites. From 39 €.
ASP Zero (Ebook) ASP Zero (Ebook)
Learning Microsoft ASP and VBScript from scratch. At only 29 €.
ASP and Access (Ebook) ASP and Access (Ebook)
Managing a MS Access database with ASP. At only 29 €.
Sponsored Links