Originally posted by manibee
Will this hide the command prompt...
No...since you are explicitly creating one by starting 'cmd.exe'.

Nevertheless, I missed the 'copy operation' part in the original message...there exists of course better functions to use...e.g. 'CopyFile()'...

Why do you want to create a new process for that?