| Forum List • Thread List • Refresh • New Topic • Search • Previous • Next 1 | 1. Bug -- drivemap() #12984 | minor issue with drivemap()
Sample program: say "drivemap('C','FIXED') =" drivemap('C','FIXED') say "drivemap('C','CDROM') =" drivemap('C','CDROM') say "drivemap('C','REMOVEABLE')=" drivemap('C','REMOVEABLE') say "drivemap('C','NETWORK') =" drivemap('C','NETWORK') say "---------" say "drivemap() =" drivemap() say "drivemap('A') =" drivemap('A') say "drivemap('C') =" drivemap('C')
Results on my system: drivemap('C','FIXED') = C:\ drivemap('C','CDROM') = D:\ drivemap('C','REMOVEABLE')= E:\ drivemap('C','NETWORK') = S:\ --------- drivemap() = C:\ D:\ E:\ S:\ drivemap('A') = D:\ drivemap('C') = D:\
The first four lines are ok, as is drivemap() However, the doc reads that when the "type" is omitted, ALL the above types are listed, however, if a starting drive letter is used, it's defaulting to 'CDROM' only.
ps, it would be nice to combine types, like "FIXED|REMOVEABLE"Doug | Forum List • Thread List • Refresh • New Topic • Search • Previous • Next 1 |
|
|