Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: opening new file in different directory

by Anonymous Monk
on Aug 01, 2013 at 11:26 UTC ( #1047436=note: print w/replies, xml ) Need Help??


in reply to opening new file in different directory

Use double back slash inside the path

 open (FH,"C:\\Dirname\\filename.txt")

This will work

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1047436]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (5)
As of 2018-02-21 15:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    When it is dark outside I am happiest to see ...














    Results (283 votes). Check out past polls.

    Notices?