WinBatch Tech Support Home

Database Search

If you can't find the information using the categories below, post a question over in our WinBatch Tech Support Forum.

TechHome

Error Codes

Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.

1470 DiskInfo Function Failed

 Keywords: DiskScan 64 USB 1470 DiskInfo Function Failed IsStorageDeviceBusTypeUsb Error 5
 

Question:

winbatch 2010a on a XP SP3 system

i have a script that runs for 2 years now that suddenly, gives me this error when scanning for connected usb drives:

usbDriveList = DiskScan(64)
1470 DiskInfo: Function failed.
clicking on More Error Info gives me;
IsStorageDeviceBusTypeUsb error: 5
can anyone help with this?

Answer:

You get the error because a DOS device has been mapped to a path using the subst command. As of version 2010B, WinBatch assumes that DOS devices causing system error 5 are not USB drives and does not generate this error.
Article ID:   W17865
Filename:   1470 DiskInfo Function Failed.txt
File Created: 2011:08:23:08:59:34
Last Updated: 2011:08:23:08:59:34