Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Copy selected file in FIleListbox to specific location & ext

Status
Not open for further replies.

mdctsg

MIS
May 26, 2002
102
0
0
US
Hello

I have a DirList, a DriveList and a FileList on my form. I am populating the Listbox from the A:\ drive. I would like to copy a file of choice to a specific directory C:\Import and change the name to import.txt. The files on the floppy will be either a .txt or a .prn file. I just need to copy anyone I choose and auto rename it to import.txt. Can this be done?

Thanks
Bob
 
If you do a search for "copy file" in the keyword search that should get you started. There are heaps of examples already on Tek Tips for this.

Transcend
[gorgeous]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top