Strings????
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
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.

kovanRank #1,453 · 1.1K reputationPosted Dec 15, 2003, 4:45 PM EST
BenRank #7,080 · 249 reputationPosted Dec 15, 2003, 9:49 PM EST