RE: network file directories and directory names with spaces

2002-02-28 Thread Eric Peers
Hmmm, no I haven't. And so obvious! Will give it a try shortly. Eric -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

network file directories and directory names with spaces

2002-02-28 Thread Eric Peers
Based on a lack of replies to my post of yesterday, I'm assuming that perl running on a Windows machine can not access a Windows directory with spaces in the directory path (i.e. D:\scripts\perl script files\). I've been given permission to change the spaces to underscores, so for the moment that

Re: accessing a windows directory

2002-02-27 Thread Eric Peers
My problem is when the $search variable is used in the search_file subroutine. The code works fine if I change Active Logos 600 dpi to Active_Logos_600_dpi. I don't recall which perl book this code began life as, but here it is: #! /usr/bin/perl -w use strict; use CGI qw(:standard); use File::B

accessing a windows directory

2002-02-27 Thread Eric Peers
I'm writing a simple file search program to run on a Windows machine and am having trouble accessing a directory with spaces in the path name. For example: my $dir = "D:\\Images\\Active Images 600 dpi\\" I have not found a way for perl to use this directory without stopping at the spaces. E