How do you start a program stored on a UNC share from the command line with parameters?

Question:

There’s an in-house program we use and it’s stored on a UNC share so that updates are transparent. I’d like to supply it some command line parameters like so:

But I can’t seem to get it to work in either CMD or PowerShell or via a shortcut.

Anyone got any ideas?

Answer:

For a shortcut, change the target to be like:

unless you really do want to have to use powershell to make this work.

Source:

How do you start a program stored on a UNC share from the command line with parameters? by licensed under CC BY-SA | With most appropriate answer!

Leave a Reply