Page 1 of 2

clear history command

Posted: 2004-06-04, 00:23 UTC
by Sheepdog
I made a feature request for a clear history comand and was forced to start a poll about it.

Sometimes I want to clear command line history as well as last searches and all tabs etc. e.g. when I want to create a new 'moveable' TC on CD (or USB STick etc.) or when I want to share my installation with a friend.

Now I have to open wincmd.ini and delete the entries in each section manually.

A cm_ClearHist could open a dialog with tickboxes for
- Commandline History
- Searchname
- SearchIn
- Searchtext
- Selection
- renameTemplates
- right path
- left path
- searches
- rename
- lefttabs
- righttabs

so one could select the sections to clear at once.

What do you think about it ?

sheepdog

Clarification---

Posted: 2004-06-04, 00:43 UTC
by Clo
2Sheepdog
:) Hi Stefan !
I don't know, but if it has to be optional.
• Hum… Rather : I don't know, but "Yes" if it has to be optional. ???

:mrgreen: FR
Claude
Clo

Re: Clarification---

Posted: 2004-06-04, 01:00 UTC
by Sheepdog
2Claude
Clo wrote:
I don't know, but if it has to be optional.
• Hum… Rather : I don't know, but "Yes" if it has to be optional. ???
It was just my interpretation of "I don't care' because as a command can be used or not - it makes no sense to make it optional.

It was according to postings depending new features where always at least one says 'it has to be optional' :lol: .


greetings from Berlin

Stefan

Posted: 2004-06-11, 17:48 UTC
by robinsiebler
I've been complaining about this for at least the past year or two.

Posted: 2004-06-29, 09:09 UTC
by ts4242
robinsiebler wrote:I've been complaining about this for at least the past year or two.
maybe a new Ultra tool can help you to get rid of this complaining forever 8)
no more details :lol: :lol: :lol: :wink:

To complement that---

Posted: 2004-06-29, 16:05 UTC
by Clo
2Sheepdog
:) Hello Stefan !
¤ To complement that feature, I thought that the actual command cm_ClearCmdLine might be changed, in order it removes really the current command-line contain from the list.
* A small dialog-box to confirm and an "Apply" button should do the trick.
* Isn't always necessary to clear the whole command-line historical, but only to remove some entries from it.

:mrgreen:  V G
Claude
Clo

Posted: 2004-07-08, 19:47 UTC
by Sheepdog
As long as @ghisler donsn't implement this feature you can use Ultra History Cleaner of ts4242.

Edit by mod, new URL: http://utceditors.totalcmd.net/ (thx to pol098 for notice)


sheepdog

Posted: 2004-07-19, 10:02 UTC
by ts4242
Sheepdog wrote:As long as @ghisler donsn't implement this feature you can use Ultra History Cleaner of ts4242.


sheepdog
This is the correct link for my program :)

thank you

Re: clear history command

Posted: 2005-01-12, 19:18 UTC
by Vatchy
I think that that is a great idea - or you could just delete wincmd.ini and let TC recreate it. I like the idea of selecting what history needs to be deleted.
Sheepdog wrote:I made a feature request for a clear history comand and was forced to start a poll about it.
sheepdog
Whoever held that gun to your head to force you to start this poll ought to be shot! :lol:

Posted: 2005-03-01, 03:35 UTC
by Sam_Zen
I withdraw my vote for implementation in TC of the history cleaning.
This app of ts4242 does the job just fine. Also because it's a function that's not normally needed in a daily routine.

Posted: 2009-10-20, 21:28 UTC
by HAL 9000
Hm, so many years ago, and nothing to find about a ClearHistory in the actual version of TC :-(

I'm just coming from WinCmd 5 to TC 7.5, and miss this feature! The WinCMD forget his history (Alt+Down) when you are closing the tool. But now, anything is saved. I think its a little work to implements a funktion with one Checkbox in the programm-options, which clear all historys after closing the prog. Isn't it? Please! :)

Posted: 2009-10-20, 21:34 UTC
by Balderstrom
Yer prolly best off redirecting History items you don't want to be restored to their own .ini file.
Then use a .cmd/.bat file to start TC:
DEL "C:\Location\of\TCHistory.ini"
START "" "%ProgramFiles%\TotalCMD\TotalCMD.exe"

Posted: 2009-10-21, 06:20 UTC
by Vochomurka
This "cleaning" can be easily done with any scripting language (PP, VBS, AHK...); no need to bother Mr Ghisler and to enlarge the application size. Voted for "No"

Posted: 2009-10-21, 13:06 UTC
by Stance
Vochomurka wrote: no need to bother Mr Ghisler and to enlarge the application size.
In my opinion cleaning the MRU-Lists and wiping out the traces is a core-function of a File-Manager and shouldn't be transferred to a 3rd party program.

For the developer it means little work, but for some users is privacy the most precious good.

So I have voted for: Yes, it would be very useful.

Posted: 2009-10-21, 13:11 UTC
by Balderstrom
But the file size might get bigger, Stance, and 3 people using Win 3.1 might not be able to run total commander. File size of the binary is more important than features.