Spaces in the command line shouldn't open explorer

Here you can propose new features, make suggestions etc.

Moderators: Hacker, petermad, Stefan2, white

User avatar
HolgerK
Power Member
Power Member
Posts: 5408
Joined: 2006-01-26, 22:15 UTC
Location: Europe, Aachen

Post by *HolgerK »

ado wrote:... the problem is that if there is the space character you cannot see it.
Hide the commandline!
Every time you type a character(or space) the commandline will appear again.
... New explorer process is whole new process that takes time to start...
There is only a new explorer window (only one Explorer.exe process which is always running).
...But still I'd love if it can be maybe just "turn on/off" feature in wincmd.ini....
Add:

Code: Select all

[Alias]
=cm_Return
to your wincmd.ini

Regards
Holger
User avatar
MVV
Power Member
Power Member
Posts: 8711
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

BTW assigning cm_Return to Enter really helps to ignore command line completely when it is not focused. :)

Code: Select all

ENTER=cm_Return
HolgerK, do you have really wanted to add nameless parameter or it was a typo?
User avatar
HolgerK
Power Member
Power Member
Posts: 5408
Joined: 2006-01-26, 22:15 UTC
Location: Europe, Aachen

Post by *HolgerK »

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

Regards
Holger
User avatar
ado
Senior Member
Senior Member
Posts: 445
Joined: 2003-02-18, 13:22 UTC
Location: Slovakia, Pezinok

Post by *ado »

HolgerK,
thanks for tip. This:

Code: Select all

[Alias] 
=cm_Return
really works as expected.

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

ado
User avatar
HolgerK
Power Member
Power Member
Posts: 5408
Joined: 2006-01-26, 22:15 UTC
Location: Europe, Aachen

Post by *HolgerK »

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.

Regards
Holger
Make our planet great again
Post Reply