help-emacs-windows
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[h-e-w] Re: Dired on windows


From: Benjamin Riefenstahl
Subject: [h-e-w] Re: Dired on windows
Date: 09 Feb 2003 15:28:34 +0100
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2

Hi all,


"Dr Francis J. Wright" <address@hidden> writes:
> Windows Script Host provides access to the FileSystem object and the
> Network object, which should provide the information required about
> local and network drives.

No need to go that far, the basic API GetLogicalDrives() reports the
information and is most likely just used by these high-level services.

Tom A Baker <address@hidden> writes:
> This came up something like a year ago.  There was some code posted
> to try to scare out the available drives, but it was not quite what
> jptheber is after.  (I think it wiould test any particular drive.
> Then wouldn't it have to test all drives A-Z, and then AA-AZ and
> BA-ZZ.)  The discussion and code should be in the archive.

I can't find that thread with a quick search.  Do you remember any
keywords (I tried "drives" and "drive"). 

Anyway, GetLogicalDrives() does not access all the drives (at least
not on NT).  It just reports all drives that are currently managed by
some driver.

It doesn't determine if there is actually a floppy or cd loaded and it
doesn't check the actual validity of network connections.  If you
really want those kind of checks, than you'd have to check all drives
individually.


Hope this helps, benny





reply via email to

[Prev in Thread] Current Thread [Next in Thread]