H
Howard Brazee
At work I have W2K but no administrator privileges.
I have some batch files that copy some data to a Dazzle memory card reader. But
I have trouble connecting to this - if I log in too fast, I am always missing
the connection to it or to LAN drives.
I just remembered a utility that I have had for some time:
ISDEVTST checks for devices and passes back return codes Googling, I found batch
files using it:
http://www.flash.net/~hoselton/pubs/mah_003.txt
http://www.robvanderwoude.com/
This works to tell me if the device driver has been loaded. But it doesn't
tell me if there is anything mounted.
I tried the following .bat segment:
C:\BELFRY>c:
C:\BELFRY>cd \belfry
C:\BELFRY>ISDEV.com I:
C:\BELFRY>If ErrorLevel 1 ECHO no I:
C:\BELFRY>If Not ErrorLevel 1 ECHO I:
I:
C:\BELFRY>dir i:
The device is not ready.
C:\BELFRY>If Not ErrorLevel 1 ECHO dir i:
C:\BELFRY>If Not ErrorLevel 1 pause
C:\BELFRY>pause
Press any key to continue . . .
How can I determine whether the device is mounted?
I have some batch files that copy some data to a Dazzle memory card reader. But
I have trouble connecting to this - if I log in too fast, I am always missing
the connection to it or to LAN drives.
I just remembered a utility that I have had for some time:
ISDEVTST checks for devices and passes back return codes Googling, I found batch
files using it:
http://www.flash.net/~hoselton/pubs/mah_003.txt
http://www.robvanderwoude.com/
This works to tell me if the device driver has been loaded. But it doesn't
tell me if there is anything mounted.
I tried the following .bat segment:
C:\BELFRY>c:
C:\BELFRY>cd \belfry
C:\BELFRY>ISDEV.com I:
C:\BELFRY>If ErrorLevel 1 ECHO no I:
C:\BELFRY>If Not ErrorLevel 1 ECHO I:
I:
C:\BELFRY>dir i:
The device is not ready.
C:\BELFRY>If Not ErrorLevel 1 ECHO dir i:
C:\BELFRY>If Not ErrorLevel 1 pause
C:\BELFRY>pause
Press any key to continue . . .
How can I determine whether the device is mounted?