Hello,
At the very end of my cognos script, I have a command which should open an excel file:
Shell ("C:\Program files\Microsoft Office\Office10\excel.exe /Y Y:\Standard Reports\Acc dept\test.xls"
The problem I am having is that it cannot read the file pathname 'Standard Reports' because it has a space in the name. I know this because if I rename the folders by removing the spaces between the folder names (i.e. StandardReports\Accdept), the test.xls file opens correctly.
Please let me know if I should further clarify.
Dalex
At the very end of my cognos script, I have a command which should open an excel file:
Shell ("C:\Program files\Microsoft Office\Office10\excel.exe /Y Y:\Standard Reports\Acc dept\test.xls"
The problem I am having is that it cannot read the file pathname 'Standard Reports' because it has a space in the name. I know this because if I rename the folders by removing the spaces between the folder names (i.e. StandardReports\Accdept), the test.xls file opens correctly.
Please let me know if I should further clarify.
Dalex