I need to pass a parameter to an executable either via URL or link or script or whatever but nothing is working.
The .exe is: \\CL001\Mart\OP 2\Test1.exe
The parameter is: '\\CL001\mart\o p2\Test'
A direct type of this in the URL works:
\\CL001\Mart\OP 2\Test1.exe /p '\\CL001\mart\o p2\Test'
However, if I type this (\\CL001\Mart\O P2\Test1.exe /p '\\CL001\mart\o p2\Test') into a link for a URL, then the "file:\\" prefix is placed before and file not found error occurs.
This opens the app but the parameter is not passed properly:
<A HREF="\\CL001\M art\OP2\Test1.e xe?'p=\\CL001\m art\op2\Test''" ></A>
I've tried various javascripts and manipulations with no success. Anyone have an idea?
Thanks,
cj
The .exe is: \\CL001\Mart\OP 2\Test1.exe
The parameter is: '\\CL001\mart\o p2\Test'
A direct type of this in the URL works:
\\CL001\Mart\OP 2\Test1.exe /p '\\CL001\mart\o p2\Test'
However, if I type this (\\CL001\Mart\O P2\Test1.exe /p '\\CL001\mart\o p2\Test') into a link for a URL, then the "file:\\" prefix is placed before and file not found error occurs.
This opens the app but the parameter is not passed properly:
<A HREF="\\CL001\M art\OP2\Test1.e xe?'p=\\CL001\m art\op2\Test''" ></A>
I've tried various javascripts and manipulations with no success. Anyone have an idea?
Thanks,
cj
Comment