Link to home
Start Free TrialLog in
Avatar of halen
halen

asked on

Copy and rename files

MFC doesn't seem to have any functions to copy files, only rename(at least for CFILE).  I don't want to use:

system( "copy * *" );

because it brings up a tacky DOS shell window.  What is the best way to copy and rename a file in MFC?
ASKER CERTIFIED SOLUTION
Avatar of psdavis
psdavis
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of halen
halen

ASKER

I knew it was something simple.  CopyFile even allows for renaming in the process.  Thanx...