hexlax Posted January 30, 2008 Share Posted January 30, 2008 What's the best way to find the u3 r/w drive when trying to save logs? Is is it usually: [read only drive] + 1 character? Or can I specify which drive letter to give the writable disk? Quote Link to comment Share on other sites More sharing options...
beakmyn Posted January 31, 2008 Share Posted January 31, 2008 The easiest is by looping for the drives c-z (typically the bios reserves a and b for floppies) and then look for a specific file like thisisit.txt. Obviously you'd have a file named thisisit.txt on your flash drive. You'll need some type of error handling to prevent drives with no media (some multi card usb readers). I use 'on error resume' Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.