I use a small batch file to copy photos from my digital camera onto my PC.
Here's the code that produces the problem:
FOR %%A IN (C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z) DO (
IF EXIST "%%A:\%SOURCE_PATH%" (SET CAMERA_DRIVE=%%A& GOTO CREATE) ELSE (ECHO.)
)
GOTO ERROR_1
It simply looks on all drives for an already defined folder (one which is always found on the Memory Stick). The logic is that the cameras drive letter changes depending on what other USB devices I have plugged in at the time. Alternatively, I may plug the Memory Stick into the memory card reader...
When it reaches that part of the code, a message box now appears that says:
There is no disk in the drive. Please insert a disk into drive \Device\Harddisk2\DR5.
[Cancel] [Try Again] [Continue]
Pressing Cancel or Continue produces the same message, only that DR6 is now displayed. Then DR7, then DR8.
It errors like this on each of my 4 media card drives.
If there's a card in the drive, it skips over it but still errors on the other 3 drives.
This used to never happen. It worked flawlessly. The only knowledge base article is here. Doesn't help at all.
Rebooting helps, but then when I put a flash card into the reader then remove it, it errors on me. I did a system restore, thinking I may have changed some registry setting at some point. That didn't help.
Any ideas on this one? I am leaning towards a reformat, but I hate to go so drastic.
Here's the code that produces the problem:
FOR %%A IN (C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z) DO (
IF EXIST "%%A:\%SOURCE_PATH%" (SET CAMERA_DRIVE=%%A& GOTO CREATE) ELSE (ECHO.)
)
GOTO ERROR_1
It simply looks on all drives for an already defined folder (one which is always found on the Memory Stick). The logic is that the cameras drive letter changes depending on what other USB devices I have plugged in at the time. Alternatively, I may plug the Memory Stick into the memory card reader...
When it reaches that part of the code, a message box now appears that says:
There is no disk in the drive. Please insert a disk into drive \Device\Harddisk2\DR5.
[Cancel] [Try Again] [Continue]
Pressing Cancel or Continue produces the same message, only that DR6 is now displayed. Then DR7, then DR8.
It errors like this on each of my 4 media card drives.
If there's a card in the drive, it skips over it but still errors on the other 3 drives.
This used to never happen. It worked flawlessly. The only knowledge base article is here. Doesn't help at all.
Rebooting helps, but then when I put a flash card into the reader then remove it, it errors on me. I did a system restore, thinking I may have changed some registry setting at some point. That didn't help.
Any ideas on this one? I am leaning towards a reformat, but I hate to go so drastic.
