المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : Drive Letters (More than 26 Drives??)



C++ Programming
12-06-2009, 01:18 AM
Hi,

I'm wading trough code dealing with UNC Names and Mapped Drives. It suddenly occurred to me that a DriveSpec of say 'C:\' limits the number of drives to 26. It also occurred to me that Microsoft may not have set anarbitrary maximum of 26 Drives (included Mapped Drives).
What is the limit (if any), and what would be the syntax for drives beyond 26.

I just want to proof things against some future Idiot who's going to phone me in time to come about software failing in obscure ways and who, as it might transpire has say 32 Disks on his system.

Regards

http://www.barakasoft.com/script/Forums/Images/smiley_smile.gif http://www.barakasoft.com/script/Forums/Images/smiley_confused.gif

Bram van Kampen