The third arg of Win32::Process::Create is a command line, not an argument for the program. See CreateProcess for details.
However, it's much easier to use the multiple argument form of system rather than quoting:
my $app = 'C:\\Program Files\\Microsoft Office\\Office12\\excel.exe'; my $arg = "C:\\Documents and Settings\\my.dir\\My Documents\\My Compan +y\\QA\\$newFilename"; system($app, $arg);
In reply to Re: Issues with dir names containing spaces-
by ikegami
in thread Issues with dir names containing spaces-
by rickMan
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |