Link to home
Create AccountLog in
Avatar of thanesh
thanesh

asked on

How to check if user entered the right drive


Hi Experts,

I have asked the question previously in
https://www.experts-exchange.com/questions/21772126/How-to-verify-user-entered-drive-letter.html

However, I am looking for something simple to check if the drive is there and writable.  What I need to do is to copy few files to a user supplied floppy or USB or any mapped drives.  I need to check quickly if the drive is valid before trying to copy the files.

What is the better way to do this.
ASKER CERTIFIED SOLUTION
Avatar of jkr
jkr
Flag of Germany image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer