How to wipe or delete all history?

English support forum

Moderators: Hacker, petermad, Stefan2, white

tocouser
Junior Member
Junior Member
Posts: 8
Joined: 2013-05-23, 14:04 UTC

How to wipe or delete all history?

Post by *tocouser »

Hi,
How to wipe or delete all history? I mean history of commands, directories etc. and also history of searching in internal file lister. ALL!

I think there must be a one button for this action like in browser for example.
User avatar
MVV
Power Member
Power Member
Posts: 8711
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

You can edit wincmd.ini (Help - About tells where it is) and redirect all history sections to separate INI so simple removing of that file would clean history. Read help section 4.b for redirection and history sections details.
umbra
Power Member
Power Member
Posts: 876
Joined: 2012-01-14, 20:41 UTC

Post by *umbra »

Or you can try Ultra TC History Editor.
Windows 10 Pro x64, Windows 11 Pro x64
User avatar
silencer
Senior Member
Senior Member
Posts: 208
Joined: 2003-05-13, 13:18 UTC
Location: The Netherlands

Post by *silencer »

Also see this topic for an example.
User avatar
ts4242
Power Member
Power Member
Posts: 2081
Joined: 2004-02-02, 20:08 UTC
Contact:

Post by *ts4242 »

Try History Editor to clean TC history as umbra suggest.
tocouser
Junior Member
Junior Member
Posts: 8
Joined: 2013-05-23, 14:04 UTC

Post by *tocouser »

ts4242 wrote:Try History Editor to clean TC history as umbra suggest.
Run History Editor.exe got next error:
Run-time error '339':
Component MSCOMCTL.OCX or one of it dependencies not correctly registered: a file is missing or invalid
Does History Editor clean history of searching of internal file lister?
tocouser
Junior Member
Junior Member
Posts: 8
Joined: 2013-05-23, 14:04 UTC

Post by *tocouser »

tocouser
Junior Member
Junior Member
Posts: 8
Joined: 2013-05-23, 14:04 UTC

Post by *tocouser »

Why Ghisler doesn't do one button for deleting all history for this like in browsers? It will be a very useful function.
tocouser
Junior Member
Junior Member
Posts: 8
Joined: 2013-05-23, 14:04 UTC

Post by *tocouser »

Ok. Made a setup, with some errors it installed and now seems to be work. An internal file lister's history is "Find Text" item. Thank you ts4242 for your addon to TC. But I think this useful function must be in TC itself.
User avatar
MVV
Power Member
Power Member
Posts: 8711
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

tocouser,
As I said, you can move all unwanted history sections into a single file in order to clean them by single button click.
tocouser
Junior Member
Junior Member
Posts: 8
Joined: 2013-05-23, 14:04 UTC

Post by *tocouser »

MVV wrote:tocouser,
As I said, you can move all unwanted history sections into a single file in order to clean them by single button click.
How? Explain, please.
tocouser
Junior Member
Junior Member
Posts: 8
Joined: 2013-05-23, 14:04 UTC

Post by *tocouser »

Да и лучше на русском объясните, если можно. Только что увидел что вы из России.
User avatar
white
Power Member
Power Member
Posts: 6012
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Post by *white »

[mod]
tocouser wrote:Да и лучше на русском объясните, если можно. Только что увидел что вы из России.
Translation (I think):
An explanation in Russian would be even better, if you can. I just saw that you are from Russia.
Russian is not allowed here. Next time say it in English please.

White (moderator)
[/mod]
User avatar
MVV
Power Member
Power Member
Posts: 8711
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

white,
That's correct thinking. :)

tocouser,
You need to add special parameter RedirectSection=X:\Path\To\History.ini to every section you want to redirect and remove all other parameters, e.g.:

Code: Select all

[MkDirHistory]
RedirectSection=%TEMP%\tc_history.ini
[SearchName]
RedirectSection=%TEMP%\tc_history.ini
[SearchIn]
RedirectSection=%TEMP%\tc_history.ini
[Selection]
RedirectSection=%TEMP%\tc_history.ini
[SearchText]
RedirectSection=%TEMP%\tc_history.ini
[RenameTemplates]
RedirectSection=%TEMP%\tc_history.ini
[RenameSearchReplace]
RedirectSection=%TEMP%\tc_history.ini
[RenameSearchFind]
RedirectSection=%TEMP%\tc_history.ini
[SplitPerFile]
RedirectSection=%TEMP%\tc_history.ini
; You should do this for all history sections
Try to search these sections first and create them only if they aren't exist yet.
After restarting TC it will create all these sections in specified INI instead of main wincmd.ini. So it will be enough to remove this single file to clear all history. Button with command cmd /c @del "%TEMP%\tc_history.ini" will do it for you.

С вопросами на русском можно обращаться сюда.
User avatar
white
Power Member
Power Member
Posts: 6012
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Post by *white »

[mod]
MVV wrote:С вопросами на русском можно обращаться сюда.
Translation (I think):
For questions in Russion you can turn here.
2MVV: Russian is not allowed for you too. If you feel you really need to say something in Russion, at least include an English translation.

White (moderator)
[/mod]
Post Reply