Hi Christian, this is Pierre from Belgium.
I use often the lister to see htm files. TC creates a temp file for each htm file in the TMP directory but if I quit the Lister or if I go to another file, the temp file is deleted. Would it be possible to have an option to keep this files until TC is closed ? Or at the least, until the "lister session" is closed ?
I need it because I have hundred of files to search in for text and the tmp file is a text version of the htm, so it goes faster to search in text files and as I have an old PC (AMD 400), I see the difference. If I could keep the temp files, I would save them for further searches.
I have no idea if it's a big problem to implement.
I have tried a tool called "Web2text" to convert htm to text files but with files from wikipedia, I get an error. The option in TC would avoid the use of another tool just for this conversion.
Thanks for reading me.
Pierre.
Keeping all temp files until TC or Lister is closed
Moderators: Hacker, petermad, Stefan2, white
TC shouldn't normally create a temp file until you're viewing the file from an archive or ftp server, so I'll assume that's what you're doing?
There is a setting named EditWaitTime which might do what you need, but I'm unsure if it works with the internal Lister. Here is the description from the help file:
[CONFIGURATION]
EditWaitTime=-1
There is a setting named EditWaitTime which might do what you need, but I'm unsure if it works with the internal Lister. Here is the description from the help file:
This is how I have mine setup:Timeout value when editing files from an archive or ftp server: If an editor closes within this amount of seconds, assume that it's a multiple document editor and show dialog where user can confirm when editing has ended. Set to 0 to turn off this feature. Set to -1 to not show this dialog at all (e.g. when the file was passed via DDE to the associated program).
[CONFIGURATION]
EditWaitTime=-1
2Aezay
Tc also makes a temp file if you have configured Lister to "Show HTML as text with links" - and no plugin intercepts the file before Lister itself does.
TC shouldn't normally create a temp file until you're viewing the file from an archive or ftp server
Tc also makes a temp file if you have configured Lister to "Show HTML as text with links" - and no plugin intercepts the file before Lister itself does.
License #524 (1994)
Danish Total Commander Translator
TC 11.55rc4 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1393a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.55rc4 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1393a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
- ghisler(Author)
- Site Admin
- Posts: 50841
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Back in 2003(!) I wrote a little tool which converts html files to plain text. I have uploaded it here:
https://plugins.ghisler.com/addons/htmlextract.zip
Instructions:
HTMLextract.exe v1.0
Freeware html to text converter based on Total Commander's html viewer function
Usage:
Either start it without parameters to get in interactive mode, or pass the
html file to extract as a command line parameter. The program creates a
new text file by just appending the .txt extension to the target file.
Example: test.html -> test.html.txt
This tool accepts wildcards * and ? to convert multiple files in one step.
WARNING: Existing files will be overwritten without warning! 
https://plugins.ghisler.com/addons/htmlextract.zip
Instructions:
HTMLextract.exe v1.0
Freeware html to text converter based on Total Commander's html viewer function
Usage:
Either start it without parameters to get in interactive mode, or pass the
html file to extract as a command line parameter. The program creates a
new text file by just appending the .txt extension to the target file.
Example: test.html -> test.html.txt
This tool accepts wildcards * and ? to convert multiple files in one step.


Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com