I think there is still an "ASSIGN" command in DOS that will help you do that. Go to the CMD and type HELP ASSIGN. It will need to be embedded in your program (using a Shell Command) or in a batch file on the computer.
>Hi All,
> Is it possible to write a program that when run, will open up a dialog window giving the user the ability to map a certain drive letter for a thumb drive?
>
> What is happening is that when I insert my thumb drive into my laptop, it automatically maped to G:\ drive. In my laptop I maped the G:\ drive for system files. I am not sure how to program my laptop to map automatically to A:\ drive.
>
> Any suggestions will be greatly appricated.
>
>Thanks
>MA
Imagination is more important than knowledge