I tried to search for 3 files in totalcmd, but it found many more.

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
vascaraus
Junior Member
Junior Member
Posts: 17
Joined: 2022-03-08, 17:28 UTC

I tried to search for 3 files in totalcmd, but it found many more.

Post by *vascaraus »

Image: https://snipboard.io/YUw32P.jpg

exemple of search:

*Academicianul Ion Ababii biobibliografie*;*Aspecte de fiziologie a dintelui*;*Botnaru, Victor. Medicina internă Breviar 2008*;*

but totalCMD founds many more, such as 35 results, instead of 3
User avatar
Dalai
Power Member
Power Member
Posts: 9945
Joined: 2005-01-28, 22:17 UTC
Location: Meiningen (Südthüringen)

Re: I tried to search for 3 files in totalcmd, but it found many more.

Post by *Dalai »

Not sure but it could be because of the trailing asterisk (after the last semi-colon). Are the semi-colons part of the filenames?
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64

Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
User avatar
white
Power Member
Power Member
Posts: 5747
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Re: I tried to search for 3 files in totalcmd, but it found many more.

Post by *white »

Try

Code: Select all

"*Academicianul Ion Ababii biobibliografie*" "*Aspecte de fiziologie a dintelui*" "*Botnaru, Victor. Medicina internă Breviar 2008*"
Information about search: https://www.ghisler.ch/wiki/index.php?title=Search
vascaraus
Junior Member
Junior Member
Posts: 17
Joined: 2022-03-08, 17:28 UTC

Re: I tried to search for 3 files in totalcmd, but it found many more.

Post by *vascaraus »

white wrote: 2025-03-12, 10:58 UTC Try

Code: Select all

"*Academicianul Ion Ababii biobibliografie*" "*Aspecte de fiziologie a dintelui*" "*Botnaru, Victor. Medicina internă Breviar 2008*"
Information about search: https://www.ghisler.ch/wiki/index.php?title=Search
Yes, I try everything. Doesn't work !

The problem is that TotalCMD does not allow searches that contain empty spaces.
Last edited by vascaraus on 2025-03-12, 17:17 UTC, edited 1 time in total.
User avatar
white
Power Member
Power Member
Posts: 5747
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Re: I tried to search for 3 files in totalcmd, but it found many more.

Post by *white »

Which 3 filenames should be found?
vascaraus
Junior Member
Junior Member
Posts: 17
Joined: 2022-03-08, 17:28 UTC

Re: I tried to search for 3 files in totalcmd, but it found many more.

Post by *vascaraus »

I find the solution:

TotalCMD doesn't like empty spaces on search.

SOLUTION 1 ( put the * operator at the beginning and end of each word, and between words, without spaces.)

Code: Select all

*Academicianul*Ion*Ababii*biobibliografie*;*Aspecte*de*fiziologie*a*dintelui*;*Botnaru*V.*Medicina*Interna*Breviar*Modulul*Alergologie2019*;
SOLUTION 2, more simple:

Code: Select all

"*Academicianul Ion Ababii biobibliografie*";"*Aspecte de fiziologie a dintelui*";"*Botnaru*Medicina*Breviar*";
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6951
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: I tried to search for 3 files in totalcmd, but it found many more.

Post by *Horst.Epp »

vascaraus wrote: 2025-03-12, 16:56 UTC The problem is that TotalCMD does not allow searches that contain empty spaces.
Using the correct syntax, there is no problem.
TC will not find more than one space if you enter a protected string which only contains one space.
In this case, you need the * instead of one space or enter the correct number of spaces.
Windows Explorer is better in this case.

Using the TC Everything search option ev: or ed:
will find them without any protection, independent of the number of spaces.
Windows 11 Home, Version 24H2 (OS Build 26100.3915)
TC 11.51 x64 / x86
Everything 1.5.0.1391a (x64), Everything Toolbar 1.5.2.0, Listary Pro 6.3.2.88
QAP 11.6.4.2.1 x64
User avatar
Dalai
Power Member
Power Member
Posts: 9945
Joined: 2005-01-28, 22:17 UTC
Location: Meiningen (Südthüringen)

Re: I tried to search for 3 files in totalcmd, but it found many more.

Post by *Dalai »

2vascaraus
What do you mean by "empty space"? Repeating white's question: Which filenames are supposed to be found?
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64

Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
vascaraus
Junior Member
Junior Member
Posts: 17
Joined: 2022-03-08, 17:28 UTC

Re: I tried to search for 3 files in totalcmd, but it found many more.

Post by *vascaraus »

Dalai wrote: 2025-03-12, 18:49 UTC 2vascaraus
What do you mean by "empty space"? Repeating white's question: Which filenames are supposed to be found?
These are the files:

Code: Select all

Academicianul Ion Ababii biobibliografie.pdf
Aspecte de fiziologie a dintelui.docx
Botnaru, Victor. Medicina internă Breviar 2008.doc
User avatar
petermad
Power Member
Power Member
Posts: 16001
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: I tried to search for 3 files in totalcmd, but it found many more.

Post by *petermad »

2vascaraus

Searching for:

Code: Select all

"*Academicianul Ion Ababii biobibliografie*" "*Aspecte de fiziologie a dintelui*" "*Botnaru, Victor. Medicina internă Breviar 2008*"
works fine here - please copy and paste the search string from the box here above and try
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
vascaraus
Junior Member
Junior Member
Posts: 17
Joined: 2022-03-08, 17:28 UTC

Re: I tried to search for 3 files in totalcmd, but it found many more.

Post by *vascaraus »

yes, also a very good solution. thanks
sa16
Senior Member
Senior Member
Posts: 324
Joined: 2021-09-10, 07:15 UTC

Re: I tried to search for 3 files in totalcmd, but it found many more.

Post by *sa16 »

2vascaraus
It is possible without * at the beginning of names:
"Academicianul Ion Ababii biobibliografie*" "Aspecte de fiziologie a dintelui*" "Botnaru, Victor. Medicina internă Breviar 2008*"
Post Reply