Emptying the command line history

Here you can propose new features, make suggestions etc.

Moderators: white, Hacker, petermad, Stefan2

Post Reply
hgdorn
Junior Member
Junior Member
Posts: 22
Joined: 2009-04-22, 13:11 UTC
Location: Germany

Emptying the command line history

Post by *hgdorn »

(Original request in German, sorry for XP: viewtopic.php?t=79969)

Feature request: Emptying the command line history

Reason: I entered a password while TC was focused. Now the password is visible in the command line history (and therefor in the registry or an INI file or somewhere else, where?) :facepalm:

I currently don't see a way to clear the command line history, but, it would be very helpful even if it was just an internal command (proposal: cm_ClearCmdLineHistory)

Thanks!
#9260
User avatar
AntonyD
Power Member
Power Member
Posts: 1249
Joined: 2006-11-04, 15:30 UTC
Location: Russian Federation

Re: Emptying the command line history

Post by *AntonyD »

I currently don't see a way to
delete undesirable string from command line?
strange - because help clearly stated that you can use SHIFT+DEL on any highlighted string in the command line's combobox.
This action will remove any traces of this string...
#146217 personal license
hgdorn
Junior Member
Junior Member
Posts: 22
Joined: 2009-04-22, 13:11 UTC
Location: Germany

Re: Emptying the command line history

Post by *hgdorn »

AntonyD wrote: 2023-08-28, 07:41 UTC SHIFT+DEL on any highlighted string
Ah, thanks, rtfm problem, shame on me. So I have to click the popup, highlight a string and press SHIFT+DEL to remove the highlighted string.

I tried the right mouse button and looked for an internal command, and yes, I've never read the manual since I registered TC dozens of years ago because everything has been self-explaining ever since.

Nevertheless, an internal command would be helpful.
#9260
Fla$her
Power Member
Power Member
Posts: 2318
Joined: 2020-01-18, 04:03 UTC

Re: Emptying the command line history

Post by *Fla$her »

I am in favor of cleaning any section with traces (there are only 19 of them) with activation in the interface.
We can use Autorun or History Editor with the /s= key, but it doesn't make sense until TC is restarted.
For example, cm_Clear with a numeric parameter and the possibility of summation:

Code: Select all

1:     left/right
2:     lefttabs/righttabs
4:     Command line history
8:     SearchName
16:    SearchIn
32:    SearchText
64:    RenameTemplates
128:   RenameSearchFind
256:   RenameSearchReplace
512:   Selection
1024:  DirSelection
2048:  MkDirHistory
4096:  NewFileHistory
8192:  TargetList
16384: LeftHistory/RightHistory
32768: SplitPerFile
Without the parameter, everything in the list is deleted.
Overquoting is evil! 👎
Post Reply