Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: How to recursively copy files in a folder to another folder?

by kiinoo (Novice)
on Dec 10, 2009 at 10:44 UTC ( #812157=note: print w/ replies, xml ) Need Help??


in reply to How to recursively copy files in a folder to another folder?

All I want to do is copying everything in a folder to another and if the file does already existed (or readonly) in the destination folder, it will be overwritted.


Comment on Re: How to recursively copy files in a folder to another folder?
Re^2: How to recursively copy files in a folder to another folder?
by vitoco (Friar) on Dec 10, 2009 at 12:16 UTC

    As moritz said, you can call XCOPY with system, but I'm not sure you will find an option to overwrite an existing readonly file in the destination folder.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://812157]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (12)
As of 2014-12-29 15:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (192 votes), past polls