PowerShell passing parameter to executable having switches -


I make a tring to convert abc.exe / u "c: /programs/abc.dll" to a parschell script

Thank you ..

Sunny

Div>

It should be in the form of a straight forward:

  c: \ ps & gt; Abc.exe / u c: /programs/abc.dll  

However you can run into problems with quotes and other characters that are interpreted by PowerShell. Generally terminating logic will be enough, but if it still does not work then you can use Start-Process in PowerShell 2.0. Ex:

  C: \ PS & gt; The initial process abc.exe -arg @ '...' @  

If you have installed, you can use echoargs.exe to troubleshoot the elves by using the utility called echoargs.exe You can. Ex:

  C: \ PS & gt; Echoargs / u c: /programs/abc.dll Arg 0 & lt; / U & gt; Arg is 1 & lt; C: /programs/abc.dll>  

Ecosurves display logic exactly as DRE.


Comments