Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
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 pondering the Monastery: (16)
As of 2014-08-22 19:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (163 votes), past polls