
I do not want to use the option to set a golbal variable, neither to save that parameter on a file, etc.Īctually i am trying with full qualified START command inside another batch: OFF So how can i pass a parameter that has spaces? like a path, a filename, etc.

worst that parameters are variable and if you put any parameter on the LNK it is treated as a literal. And yes, shortcuts passes the parameters to the application / batch they point to, so no need to add parameters on the LNK it self. That shortcut points to a batch file and has set on the tick for run with admins rights.

From a command line, run a shortcut and pass parameters to it.I want to know how to do just what title says "How to open a shortcut with windows command line and parameters".
