Problem with directory-mapped removable drives
Posted: Thu Nov 24, 2005 11:40 am
Hello,
I have a combo card reader installed on my computer. Instead of mapping individual slots to drive letters, I opted to map them to directories (through Disk Management snap-in of the Computer Management console). Therefore, I have directories like C:\MemoryStick or C:\CompactFlash, which are unreadable unless there is the respective card physically inserted.
Now, whenever the XnView navigates through the C:\ root directory (when it is expanded in the tree view), I get about 15 messageboxes saying something like 'There is no disk in the drive. Please insert a disk into drive \device\Harddisk2\DR4', followed by a box saying 'C:\MemoryStick is not accessible. The device is not ready.'. Then another 15 messages for the other slots. Very annoying. You should detect an unaccessible directories and do not try to read from them whatever it is you are reading.
Windows explorer, of course, does not exhibit such a behaviour. It gives 'The device is not ready' message only when I directly navigate inside the directory.
Thanks.
Windows 2000/XnView 1.80.1
I have a combo card reader installed on my computer. Instead of mapping individual slots to drive letters, I opted to map them to directories (through Disk Management snap-in of the Computer Management console). Therefore, I have directories like C:\MemoryStick or C:\CompactFlash, which are unreadable unless there is the respective card physically inserted.
Now, whenever the XnView navigates through the C:\ root directory (when it is expanded in the tree view), I get about 15 messageboxes saying something like 'There is no disk in the drive. Please insert a disk into drive \device\Harddisk2\DR4', followed by a box saying 'C:\MemoryStick is not accessible. The device is not ready.'. Then another 15 messages for the other slots. Very annoying. You should detect an unaccessible directories and do not try to read from them whatever it is you are reading.
Windows explorer, of course, does not exhibit such a behaviour. It gives 'The device is not ready' message only when I directly navigate inside the directory.
Thanks.
Windows 2000/XnView 1.80.1