I search some strings with REGEX in office file, can't Search only in current dir
like this
https://imgur.com/a/417NhhA
[TC 10.50RC1] Can't Search only in current dir
Moderators: Hacker, petermad, Stefan2, white
- thomasmolover
- Member
- Posts: 177
- Joined: 2016-12-12, 01:32 UTC
Re: [TC 10.50RC1] Can't Search only in current dir
It is hard to understand chinese without english description.
Just a guess, if you selected some files from a search or brach-view and then want to find text only on selected, you cannot mix selected file and base folder only using the depth listbox.
You can anyhow add a rule using plugins tab to limit to the current path with [tc.path] [=] [E:\.....\......\erp]
Just a guess, if you selected some files from a search or brach-view and then want to find text only on selected, you cannot mix selected file and base folder only using the depth listbox.
You can anyhow add a rule using plugins tab to limit to the current path with [tc.path] [=] [E:\.....\......\erp]
Re: [TC 10.50RC1] Can't Search only in current dir
I want to search some strings in files in a dir without sub-dir, but what ever I selected the depth, the searching would list all files in any depth dir.
Is it the non-westen dir name problem?
Is it the non-westen dir name problem?
Re: [TC 10.50RC1] Can't Search only in current dir
2thomasmolover
It is because you have enabled the option: "Only search in selected directories/files" (只搜索选定的文件或文件夹) - turn that option off and the "Search in subdirectories: "Current dir only" (仅限当前文件夹)" will work for you.
It is because you have enabled the option: "Only search in selected directories/files" (只搜索选定的文件或文件夹) - turn that option off and the "Search in subdirectories: "Current dir only" (仅限当前文件夹)" will work for you.
Last edited by petermad on 2022-06-11, 12:08 UTC, edited 1 time in total.
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
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
Re: [TC 10.50RC1] Can't Search only in current dir
No, it's because you used the option Only search in selected directories/files.
In your screenshot you circled the "Search in" field. However this field is disabled because you used the option "Only search in selected directories/files". The "Search in" field has no meaning in this case. The "erp" folder is not searched, but the folders you selected in the "erp" folder are searched. These folders are searched 0 levels deep, so it's working perfectly.