I want to create a link to an application that requires command line parameters. For example, in an email I want to send:
\\server\share\application.exe -parameter1 -parameter2
The link stops at the .exe, so to make the whole thing a link I do the following:
<file:\\server\share\application.exe -parameter1 -parameter2>
It looks like it would work but when I click on it I get:
"Cannot find file \\server\share\application.exe -parameter1 -parameter2. Make sure the path or internet address is correct."
So I'm assuming the spaces are confusing it.
I thought if I added a %20 in place of the spaces it would work but doesn't.
I also have a command or batch file that I have used instead. The batch or commmand file has the path with parameters and that works but corporate doesn't allow this anymore because it could allow malicious software to execute on a users computer.
Any ideas how to make this work?
\\server\share\application.exe -parameter1 -parameter2
The link stops at the .exe, so to make the whole thing a link I do the following:
<file:\\server\share\application.exe -parameter1 -parameter2>
It looks like it would work but when I click on it I get:
"Cannot find file \\server\share\application.exe -parameter1 -parameter2. Make sure the path or internet address is correct."
So I'm assuming the spaces are confusing it.
I thought if I added a %20 in place of the spaces it would work but doesn't.
I also have a command or batch file that I have used instead. The batch or commmand file has the path with parameters and that works but corporate doesn't allow this anymore because it could allow malicious software to execute on a users computer.
Any ideas how to make this work?