maslas has asked for the wisdom of the Perl Monks concerning the following question:
I am trying to find certain files, and some of them have spaces in the path name; e.g.
The program finds the files, but the subsequent attempt to open the file fails:c:\Program Files\My Projects\Scripts For Oracle\
What do I need to do so my script can open the file in a path like this?open FILE, "> $filename" or die "Can't write $filename - $!";
Originally posted as a Categorized Question.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: How do I open a file in a path that has spaces in the name?
by Mr. Muskrat (Canon) on Jun 19, 2002 at 01:37 UTC | |
Re: How do I open a file in a path that has spaces in the name?
by grinder (Bishop) on Jun 19, 2002 at 10:43 UTC | |
Re: How do I open a file in a path that has spaces in the name?
by luzaranza (Initiate) on Feb 27, 2010 at 11:17 UTC | |
by CountZero (Bishop) on Feb 27, 2010 at 18:06 UTC | |
Re: How do I open a file in a path that has spaces in the name?
by ezechiel (Initiate) on Nov 03, 2009 at 10:57 UTC | |
by Anonymous Monk on Nov 03, 2009 at 12:00 UTC | |
Re: How do I open a file in a path that has spaces in the name?
by ezechiel (Initiate) on Nov 03, 2009 at 10:51 UTC |
Back to
Seekers of Perl Wisdom