file:// command-line arguments
- by Cory Grimster
Is it possible to pass command-line arguments to a program that is invoked via a file:// url?
I'm trying to include Remote Desktop links in a wiki page that lists some servers:
<a href="file:///c|/windows/system32/mstsc.exe /v:serverName">serverName</a>
When I omit the argument the link works fine, but when I include it the link doesn't work. I Googled around a bit and couldn't find any references to this. I suspect that the answer is that file:// urls simple don't accept arguments (I can think of all kinds of ways to abuse them if they do), but I thought I'd throw it out there in case I've simply got the syntax wrong.
Thanks.