A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-list/2001-April/089598.html below:

how to enumerate all drives on Win32?

how to enumerate all drives on Win32? how to enumerate all drives on Win32?skip at pobox.com skip at pobox.com
Mon Apr 30 14:29:43 EDT 2001
For a file/directory browser I need to be able to traverse all mounted
filesystems.  This is no problem on Unix systems, because we have the studly
mount(2) system call and thus have a single directory tree rooted at /.

Alas, Windows (once again) is broken in this regard.  I need to know how to
enumerate all the drive letters that have something mounted on them.  I
didn't see anything in the ntpath module that looked like it would do the
trick.  Any suggestions?

Thanks,

-- 
Skip Montanaro (skip at pobox.com)
(847)971-7098


More information about the Python-list mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4