Hi,
Thanks for the tip - some useful information in that document. I think I have an easier solution in my case, though.
I notiece that the card in the CF slot on my MobilePro 780 always comes up "Storage Card2"
(except when I play with the SCSI card
), even when the PCMCIA slot is empty. Even if I do a hard reset, and power up with a card in the CF slot, it comes up as "Storage Card2". According to the info in that guide, it should have been coming up as "Storage Card"
(since it was the first, and only, CF card in the system
).
Looking at the registry keys mentioned in the guide, I found a key called "Folder2"
(under the Driver\PCMCIA\ATADISK.DLL keys
) already in my registry. The key value was set to "Storage Card2". I changed that key value to "CFCard", and now my CF card folder always comes up as "CFCard", no matter what I do with the PCMCIA slot.
Which brings me to a semi-related
(and somewhat interesting
) point. Here's what I think was going on. The machine was enumerating devices, starting with the PCMCIA slot first. It found 2 drives, and named them "Storage Card"
(my ZIP drive
) and "Storage Card2"
(my CD-ROM drive
), since if a name is taken the OS appends a digit to the end of the default name. Then it went to the CF slot, and found a device there. It tried to name that one "Storage Card2"
(since that's what the key value is
), but that name is taken already. Again, if the name is taken, the OS appends a number to the end of the specified string. So it took the key value
("Storage Card2"
and appended a number
("2"
to generate the name "Storage Card22", instead of the more sensible "Storage Card3".
Wierd part is, I never actually have a "Storage Card2" folder, since the folder corresponding to the CD-ROM is given the volume name of the CD in the drive.
(i.e. if I burn a CD, give it the volume name of "FooBar", what I see in My Handheld PC is a folder named "FooBar
(CD-ROM
)".
) Tonight, I had Explorer open as I installed the SCSI and CF cards, and watched the directories change in the Explorer Window. I do, briefly, see a "Storage Card2" folder, but it disappears and is replaced with a name like "FooBar
(CD-ROM
)". So, apparently, somewhere along the line the OS is renaming the default folder name to whatever the mounted volume's name is and appending "
(CD-ROM
)" to the end.
All of which makes me wonder, if the OS can read the volume name off a CD-ROM and rename the folder, is there some way to make it do the same for normal read-write media like CF cards? I'm still poking through the registry, trying to find any keys for the CD-ROM drive when it's mounted. See if anything interesting comes up.