namishtiwari has asked for the wisdom of the Perl Monks concerning the following question:
I am running the program as-$glob_path = "$LogDir/${Prefix}*"; @log_paths = glob $glob_path or die "No files found in '$glob_path'"; printf "log files = \n"; print @log_paths; printf "\n";
i got this as outputC:\Perl Script>perl summaryreport_latest_working_latest.pl --LogDir="C +:\\Perl Script\\Sample Programs" --Prefix=arcotwebfort --Diagnostics= +01096878 > results.txt
the actual folder name from where i need to take the file is-- <quote> C:\Perl Script\Sample Programs </quote> inside this directory we have so many files with prefix arcotwebfort. Kindly suggest something to come out of this problem. Thanks NTLOG DIR = C:\\Perl Script\\Sample Programs log files = C:\PerlScript\Sample
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: execution problem if dir name has space in it's name
by Corion (Patriarch) on Jul 08, 2009 at 14:39 UTC | |
| |
|
Re: execution problem if dir name has space in it's name
by arc_of_descent (Hermit) on Jul 08, 2009 at 14:47 UTC | |
|
Re: execution problem if dir name has space in it's name
by raisputin (Scribe) on Jul 08, 2009 at 20:29 UTC |