@MVV
It was no typo.
Empty string as alias does work because TC removes leading spaces while parsing the command line.
In contrary to assigning a hotkey it prevents also opening explorer if the command line is focused (and holds only spaces).
@All who have this problem with spaces inside empty command line:
Could it be that you are using:
- <Alt+Enter>
- focus on command line
- mark the folder or file name inside the command line
- and finally using <Ctrl+X> to copy a marked name into clipboard?
With <Alt+Enter> TC copies not only the name under cursor into command line but adds an extra space after the name to allow to build up command lines with multiple parameter (space as delimiter).
But TC also offers a much easier way to accomplish this task!
"File->Mark -> Copy selected names to clipboard"
or cm_CopyNamesToClip which can be assigned to any hotkey.
...that space to cmd line is indeed result of Ctrl-Enter or Ctrl-P or something similar when I use it as edit buffer. I know there is that command cm_CopyNamesToClip, the problem is that I am quite often using this to get just part of let's say FTP path or so. In such case to copy plain file name or file name with path is not enough.
that space to cmd line is indeed result of Ctrl-Enter or Ctrl-P or something similar when I use it as edit buffer
After cutting the selected part into clipboard <Ctrl+X>, you can leave the command line with <Esc>.
This will remove the remaining rest (<Space>) from the command line buffer.