FileSystemObject in ASP

Results 1 to 3 of 3

Thread: FileSystemObject in ASP

  1. #1
    jonhe Guest

    Default FileSystemObject in ASP

    Is it possible to use the FSO .Drives object to pull up drives on non-local machines. Trying to use a web page to display server drive information on the fly. Could use the .GetDrive(svrpath) object, but do not want to hard code the drives. Is this possible and how???

  2. #2
    Join Date
    Dec 1969

    Default Yeah..

    What do you mean "non-local"? Server drives, removable server drives, network drives?<BR><BR>You can get a list of the drives using the FSO and you could iterate through this.<BR><BR>If you want to find the drive the site is running on, use Left(Server.MapPath("/"), 1).<BR><BR>Craig.

  3. #3
    jonhe Guest

    Default RE: Yeah..

    Looking to pull up information on server drives in a server farm. The object .Drives object will pull up all of the drives on the machine it is ran on. I need to be able to, for example, do FSO.Drives(ServerPath), then it will pull up all drives on that server.<BR>jonhe

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts