For some uses, I'd like to be able to use FARR as a replacement for the Windows Run box (or Bayden SlickRun, or similar programs). In that situation, I want to be able to type a full command line, not just a program name. Two examples:
- putty username@servername
- gvim some.file.name
I know about the ++ syntax to add command line arguments, but in this case I don't want to have to type anything but the command line as it stands - my muscle memory is used to typing "putty xxx@yyy", so I want to stick with that. One option would be to have an alias executing "cmd ++ /c $$1" but (a) these are not console commands, so I'd rather avoid using the console, and (b) I can't get this to work anyway
Is there a way of simply passing a command direct to Windows CreateProcess()? [For bonus points, if I could specify the working directory to use, that would be even better!] I'm pretty sure I could do this by writing a plugin - but do I need to?