Beefy Boxes and Bandwidth Generously Provided by pair Networks Bob
XP is just a number
 
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 having an uproarious good time at the Monastery: (17)
As of 2014-04-18 19:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (471 votes), past polls