News:

Masm32 SDK description, downloads and other helpful links
Message to All Guests
NB: Posting URL's See here: Posted URL Change

Main Menu

copyfile..........

Started by shaikkareem, March 21, 2014, 01:37:32 AM

Previous topic - Next topic

shaikkareem

i'm trying to copy a folder(directory) to a new location which is out side[to a new drive say g:\ dirve] from current drive [e:\] in my computer.
so for this i'm using copyfile because movefile copies the original one and delete that, but a problem got....getlasterror returning file type unknown or something.........what i do to copy a folder[directory] completely from one drive to another drive which containing a few files and sub folders {sub directories}

ragdog

Hi

Is Cpp but it help
http://www.cplusplus.happycodings.com/Algorithms/code38.html

Tedd

Use SHFileOperation (from shell32.inc), with SHFILEOPSTRUCT.wFunc set to FO_COPY

Potato2