Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Problem with file path structure in DOS

by nimdokk (Vicar)
on Sep 06, 2007 at 12:06 UTC ( [id://637401]=note: print w/replies, xml ) Need Help??


in reply to Problem with file path structure in DOS

You might also want to consider using File::Spec to help with formatting the paths properly. I noticed that in the output, the directory seperator in the filename that files is going the wrong way. While this could simply be a typo in posting, it is something to watch out for. Also, as others have noted, it would be better to use File::Copy instead of shelling out of Perl to use Windows 'move'.
  • Comment on Re: Problem with file path structure in DOS

Replies are listed 'Best First'.
Re^2: Problem with file path structure in DOS
by dilip_val (Acolyte) on Sep 06, 2007 at 12:54 UTC
    Thanks all for your comments , File::Copy with move combo works fine.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (4)
As of 2024-04-16 04:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found