Could anyone advise how we can pass a Windows directory including spaces to a shell script called from exec in batch.tbl, example:
REPORT2 MYJOB EXEC -PARAM "myscript 'my\ windows\ path'"
or
REPORT2 MYJOB EXEC -PARAM 'myscript "my\ windows\ path"'
Both above aborted. The script works ok when invoked from the Unix prompt, but it aborts when invoked from exec. It appears that the escaping character "\" is not passed into the script, or other problems occur.
The script will obtain an interface file via ftp, from a Windows server.
REPORT2 MYJOB EXEC -PARAM "myscript 'my\ windows\ path'"
or
REPORT2 MYJOB EXEC -PARAM 'myscript "my\ windows\ path"'
Both above aborted. The script works ok when invoked from the Unix prompt, but it aborts when invoked from exec. It appears that the escaping character "\" is not passed into the script, or other problems occur.
The script will obtain an interface file via ftp, from a Windows server.