Get SystemDrive variable
jdoy23 at hotmail.com
Fri Jul 30 18:06:00 CEST 2004
srcdrv = os.getenv("SystemDrive"). I forgot to put the quotes at first.
"JY Doyon" <jdoy23 at hotmail.com> a écrit dans le message de
news:_xtOc.26574$BU4.1267510 at news20.bellglobal.com...
> I'm writing a script that copies all information from the "Documents and
> Settings" folder for backup purposes. My problem is that some machines
> the OS installed on a different drive than C:\. Is there any way to get
> environment variable "SystemDrive" with python?
> Thanks for the help
More information about the Python-list