TC and dead entries in file comments (*.ion files)

Here you can propose new features, make suggestions etc.

Moderators: Hacker, petermad, Stefan2, white

Post Reply
tAlexKo
Junior Member
Junior Member
Posts: 6
Joined: 2009-02-12, 08:13 UTC

TC and dead entries in file comments (*.ion files)

Post by *tAlexKo »

We all know how useful can be comments for files, and how
great it is that TC supports them. However recently I met
with such things: some people use TC to make comments, but
other people use standart Explorer and they remove many
files without updating *.ion files. As a rezult we have a
lot of dead entries in many *.ion files. It is not very
good, because sometimes we use *.ion files for printing the
commented contents of a particular directory.

Probably it would be very useful if TC could check *.ion
files and remove the entries which descibes no files.

BTW: Do you know, maybe somewhere such a program already
exists? In this case give me the URL, please.
User avatar
petermad
Power Member
Power Member
Posts: 16118
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

but
other people use standart Explorer
Just shoot those people ;-)
Do you know, maybe somewhere such a program already
exists? In this case give me the URL, please.
I don't know, but you can use this workaround:
Just move the files to an empty directory (on the same drive - to make it fast). Then delete the remaining descript.ion file in the original dir, and move all the files back.

But it should be easy to implement a function in TC to "clean up" the descript.ion files - so I support your suggestion.
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
User avatar
Hacker
Moderator
Moderator
Posts: 13144
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Post by *Hacker »

Yup, support++.

Roman
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
User avatar
Vochomurka
Power Member
Power Member
Posts: 816
Joined: 2005-09-14, 22:19 UTC
Location: Russia
Contact:

Post by *Vochomurka »

As a rezult we have a lot of dead entries in many *.ion files. It is not very
good ... Probably it would be very useful if TC could check *.ion
files and remove the entries which descibes no files.

BTW: Do you know, maybe somewhere such a program already
exists? In this case give me the URL, please.
http://ppro.totalcmd.net/Scripts/CleanComments.htm
Single user license #329241
PowerPro scripts for Total Commander
User avatar
petermad
Power Member
Power Member
Posts: 16118
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

This Page Cannot Be Displayed

--------------------------------------------------------------------------------

Based on your corporate access policies, this web site ( http://ppro.totalcmd.net/Scripts/CleanComments.htm ) has been blocked because it has been determined by Web Reputation Filters to be a security threat to your computer or the corporate network. This web site has been associated with malware/spyware.

Threat Type: othermalware
Threat Reason: Domain reported and verified as serving malware.


If you have questions, please contact your corporate network administrator and provide the codes shown below.


--------------------------------------------------------------------------------
Notification codes: (1, MALWARE, othermalware, Domain reported and verified as serving malware., BLOCK-MALWARE, 0x0227b6aa, 1329388873.105, AAAD6wAAAAAAAAAAGv8ACP8AAAD/AAAAAAAAAAAAAAE=, http://ppro.totalcmd.net/Scripts/CleanComments.htm)
Guess I have to wait until I get home from work to see what's on that page :!:
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
tAlexKo
Junior Member
Junior Member
Posts: 6
Joined: 2009-02-12, 08:13 UTC

Post by *tAlexKo »

petermad wrote: I don't know, but you can use this workaround:
Just move the files to an empty directory (on the same drive - to make it fast). Then delete the remaining descript.ion file in the original dir, and move all the files back.
Probably, your way is easier than script using and is the better solution for this task. You can choose a whole folder tree and move it. There is a small incovenience that you must keep in mind that "copy with comments" option must be turned on. It is often turned off, to allow TC to synchonize folders together with their *.ion files.
User avatar
Vochomurka
Power Member
Power Member
Posts: 816
Joined: 2005-09-14, 22:19 UTC
Location: Russia
Contact:

Post by *Vochomurka »

2petermad
I've just tested - no problem with displaying this page.
Single user license #329241
PowerPro scripts for Total Commander
User avatar
petermad
Power Member
Power Member
Posts: 16118
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

2Vochomurka

As you can se it is my Compagny (I am writing this from work) that apparantly has a Web Reputation Filter, that blocks the page - so maybe there is a false virus alert out for the page.
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
Post Reply