RemCom icon indicating copy to clipboard operation
RemCom copied to clipboard

Command line syntax needs improvement

Open kavika13 opened this issue 14 years ago • 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.

kavika13 avatar Nov 10 '11 10:11 kavika13

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...

andrese avatar Feb 10 '12 14:02 andrese