Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
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 wandering the Monastery: (7)
As of 2014-09-23 02:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (210 votes), past polls