kavika13/RemCom

Command line syntax needs improvement

Opened this issue · 1 comments

We should both be more flexible, and allow less inconsistent/poor choices for parameter names.

E.g. pwd should be password, or pass, or p. It should also support a hyphen instead of just a slash (not sure if it does now or not).

Todo: Get some repro steps, and plan out the specific changes.

Now only slash is supported to pass parameters, but both slash and hyphen are filtered so you cant use them in your commands (for instance you can pass parameters to your remote command using slash).

I am sending a patch that makes remcom to only use slash for parameters and lets scape the first slash as 2 slash just in case you need to use slash as part of your remote command parameter.

So if you want to execute yourcommand.exe /aparameter you can do it with the following command RemCom.exe \remote "yourcommand.exe //aparameter"

Patch is on its way...