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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

search, copy and rename a file

Status
Not open for further replies.

giahan

Programmer
Sep 1, 2000
139
US
How do I search for a file (ie. test.txt), copy that file to the same folder that test.txt file located, then rename the copied file as foldername_test.txt using visual C++

Thanks in advance
GH
 
If you're using MFC, you could probably modify the example in thread116-178338 to suit your needs. ;)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top