Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
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
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
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: (10)
As of 2015-08-31 19:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The oldest computer book still on my shelves (or on my digital media) is ...













    Results (363 votes), past polls