in reply to copying directories and sub directories

If you're dead set on using a Windows-based command-line tool, xcopy is available by default. I suggest using a module, though, as who knows if/when your code might need to leave the Windows world (or when XCOPY may become deprecated).

<-radiant.matrix->
Larry Wall is Yoda: there is no try{} (ok, except in Perl6; way to ruin a joke, Larry! ;P)
The Code that can be seen is not the true Code
"In any sufficiently large group of people, most are idiots" - Kaa's Law
  • Comment on Re: copying directories and sub directories

Replies are listed 'Best First'.
Re^2: copying directories and sub directories
by Anonymous Monk on Jul 26, 2005 at 05:55 UTC
    ... xcopy is available by default
    Not really important, but it depends on the windows .

      Technically, yes. If you're using anything before Win95, XCOPY may not be available. It's also possible to uninstall it or prevent it from being installed. However, it is part of the default install, and has been since Win95.

      <-radiant.matrix->
      Larry Wall is Yoda: there is no try{} (ok, except in Perl6; way to ruin a joke, Larry! ;P)
      The Code that can be seen is not the true Code
      "In any sufficiently large group of people, most are idiots" - Kaa's Law