Maybe I'm stupid, but if you simply use CWD another/folder you'll CWD from whatever current folder you're in when the custom-command is used. No need to involve any extra parameters. CWD will always use the folder you are in as its starting point. I could well be missing your real problem, though.
|