in reply to Re^2: Issues with dir names containing spaces-
in thread Issues with dir names containing spaces-
Hello Monks,
well, I am still having issues with this script I am trying to write. The double quotes following the 'QA' in the output I believe is responsible for not allowing excel to find the dynamically created file thus generating a file not found error... any suggestions on the matter? Here is a snippet of the script:
my $app = '"C:\Program Files\Microsoft Office\Office12\excel.exe"'; my $arg = '"C:\Documents and Settings\my.name\My Documents\My Company\ +QA\"' . $newFilename; #system("$app $arg"); print $app . "\n"; print $arg;
My output = "C:\Program Files\Microsoft Office\Office12\excel.exe" "C:\Documents and Settings\my.name\My Documents\My Company\QA\"TestingWorksheet_07232009.xlsx
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Issues with dir names containing spaces-
by ikegami (Patriarch) on Jul 23, 2009 at 15:06 UTC | |
by rickMan (Novice) on Jul 23, 2009 at 16:27 UTC | |
by ikegami (Patriarch) on Jul 23, 2009 at 16:30 UTC | |
by rickMan (Novice) on Jul 23, 2009 at 16:45 UTC | |
by ikegami (Patriarch) on Jul 23, 2009 at 16:54 UTC | |
|