in reply to Re: Issues with dir names containing spaces-
in thread Issues with dir names containing spaces-

Thank you all for the replies. Will definitely give it a
shot as soon as possible. FYI, I do use strict and
warning, but all I had posted was a snippet.
Thanks again!
  • Comment on Re^2: Issues with dir names containing spaces-

Replies are listed 'Best First'.
Re^3: Issues with dir names containing spaces-
by rickMan (Novice) on Jul 23, 2009 at 12:37 UTC

    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

      Your quote is misplaced for your arg
        I am not following you ikegami. Where would the quote need to be?