Strings????

Dec 15 2003 7:15 PM
Another question here. In the program I am using an input box to prompt the user as to what drive their CD-rom drive is so the program can then access it and copy a file. I desginate a string and then I have the keyboard input read it into that string. I just don't know how to make it work in this way. dim drive as string drive = inputbox("drive =") Console.ReadLine() | _|_ \ / \/ System.IO.File.Copy("drive:\Registration\Registration.exe", "C:\Documents and Settings\Administrator\Desktop\Registration.exe", True) how do I get the drive string to represent the drive letter so I can use the letter to perform the copying comand

Answers (2)