Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Problem with file path structure in DOS

by nimdokk (Vicar)
on Sep 06, 2007 at 12:06 UTC ( #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
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
Node Status?
node history
Node Type: note [id://637401]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (5)
As of 2015-07-06 05:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (70 votes), past polls