Any plugin/addon that detects filenames with ascii 255?

Discuss and announce Total Commander plugins, addons and other useful tools here, both their usage and their development.

Moderators: Hacker, petermad, Stefan2, white

Post Reply
Olfert
Junior Member
Junior Member
Posts: 64
Joined: 2006-05-17, 10:55 UTC

Any plugin/addon that detects filenames with ascii 255?

Post by *Olfert »

I work a lot with image files of people's portrait and I name these files with their name. At least here in Denmark we can have first names that is actually 2 names, like "anna sofia" or "ida maria". I often need to compare lists of filenames and more often than I like, I encounter situations, where I need to make sure I compare the "full" first name of files.

As often as I remember I put the ascii character 255 in between the names that I want to be considered as the "full" first name. But then on other occasions I need to list those names with that special character.

I know I could just use search for files with it but I would really like to have a user column displaying the files with special characters in the name, because I use that feature a lot for other informations on the files (like exit info).

So I wondered if anybody know of a plugin like that?

PS: I'm aware of the method of using color for filetypes (in this case filename patterns), but I don't want to have permanent visualization of those special filenames...
User avatar
nsp
Power Member
Power Member
Posts: 1939
Joined: 2005-12-04, 08:39 UTC
Location: Lyon (FRANCE)
Contact:

Re: Any plugin/addon that detects filenames with ascii 255?

Post by *nsp »

You can use PCREsearch 2.5 to search RegExp in filename. (you can use boolean field or use string with replacement to have a dedicated output)
You can also use WinScriptsAdv to create your own script.

--- Edited 2025-06-14
You can also use SplitNameByRegex 1.3.1, it split/search a pattern in filename and can replace found string... (similar to pcreSearch but dedicated to filename!)
User avatar
petermad
Power Member
Power Member
Posts: 16099
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: Any plugin/addon that detects filenames with ascii 255?

Post by *petermad »

2Olfert
You could try the filemask plugin: http://www.mgpsoft.net/Downloads/FileMask.zip

Used as a custom column is shows the number of files that match the mask - but unfortunately it does not show which file(s) it is - it shows the same number for all the files.


You could make a saved search for

Code: Select all

* *.*
Name the search for example: 255.

Then the command:

Code: Select all

cd >255
will show only the files with a 255 character in the name.
You can use cd >255 in for example a button

You can press Ctrl+F10 to show all files again - or use a button with the command: cm_srcallfiles
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