How to Mount/Unmount Drives on Windows?

Christos Georgiou tzot at sil-tec.gr
Sat Mar 4 05:18:03 EST 2006


On 25 Feb 2006 18:06:15 -0800, rumours say that dpickles at pacbell.net might
have written:

>Hello,

<snip>

>I do not know how to mount or unmount drives on Windows. I think that
>it could possibly be done with a DOS command (using os.system()).

mountvol is the command you want.  I know it's in winxp, I think it was in
win2k too.

Check the Windows Help for its usage.

PS another command that is most useful is netsh, especially for laptops.
-- 
TZOTZIOY, I speak England very best.
"Dear Paul,
please stop spamming us."
The Corinthians



More information about the Python-list mailing list