[WDX] PCREsearch

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

Moderators: sheep, Hacker, Stefan2, white

User avatar
tuska
Power Member
Power Member
Posts: 2399
Joined: 2007-05-21, 12:17 UTC

Re: [WDX] PCREsearch

Post by *tuska »

milo1012 wrote: 2020-10-18, 16:06 UTC 2tuska
So yes: I suggest you merge both OiT archives in one dir (each for the same bitness of course),
i.e. copy the files unique for ca to vw or vice versa and point both plug-ins to that merged path.
Make a sync dir comparison in TC before that, if you're unsure.
Readme.html wrote:Note when using the uLister plug-in:
...This means you can safely put both of them in the same dir, provided that you use the same version of both packages.
This means that if simultaneously using uLister, just set PCREsearch's filter directory accordingly,
to point to the fitting uLister filter dir (see the explanation above),
as the other way is probably not feasible (due to uLister not being able to set a custom path).
Thank you for this precise and detailed information. I appreciate that very much.

I have now done a synchronisation, in both directions and merged the files.

Code: Select all

%COMMANDER_PATH%\Plugins\wdx\PCREsearch\oit32\ <-> %COMMANDER_PATH%\Plugins\wlx\ulister\redist32\
%COMMANDER_PATH%\Plugins\wdx\PCREsearch\oit64\ <-> %COMMANDER_PATH%\Plugins\wlx\ulister\redist64\
After that I made the following changes in the PCREsearch.ini

Code: Select all

FROM: OitDllPath32=oit32
TO:   OitDllPath32=%COMMANDER_PATH%\Plugins\wlx\ulister\redist32\

FROM: OitDllPath64=oit64
TO:   OitDllPath64=%COMMANDER_PATH%\Plugins\wlx\ulister\redist64\
Thereupon I have emptied, i.e. deleted, the contents of the folders "oit32" and "oit64"
in %COMMANDER_PATH%\Plugins\wdx\PCREsearch\ and created these links in the folders:

Code: Select all

%COMMANDER_PATH%_Plugins_wlx_ulister_redist32.lnk
%COMMANDER_PATH%_Plugins_wlx_ulister_redist64.lnk
I think that also ends this issue for me.

Thanks again!
User avatar
tuska
Power Member
Power Member
Posts: 2399
Joined: 2007-05-21, 12:17 UTC

Re: [WDX] PCREsearch

Post by *tuska »

For those interested:
I have made a summary in the forum "Total Commander (Deutsch)" -> German (with PICTURE(S))
from my first query with "[WDX] PCREsearch 2.5".
LeoLUG
Junior Member
Junior Member
Posts: 13
Joined: 2020-05-22, 15:24 UTC

Re: [WDX] PCREsearch

Post by *LeoLUG »

Is it possible with this plugin to find and replace text for inside a few txt files via TC ?
User avatar
milo1012
Power Member
Power Member
Posts: 1130
Joined: 2012-02-02, 19:23 UTC

Re: [WDX] PCREsearch

Post by *milo1012 »

LeoLUG wrote: 2020-12-02, 13:05 UTC Is it possible with this plugin to find and replace text for inside a few txt files via TC ?
No, it's not possible, as the plug-in is read-only.

But there is an alternative plug-in RegXtract which you could use in search&replace mode. But this will not work "in-place", i.e. overwrite the original file, but will create a new file.
So this new file will have the content of the original file with the replaced parts. You could overwrite the original file(s) with the new one manually afterwards. And of course it will only work for raw text or binary files and not with office files, pdf and similar. You can output/s&r multiple files at once with TC's Create separate archives, one per selected file/dir option.
TC plugins: PCREsearch and RegXtract
LeoLUG
Junior Member
Junior Member
Posts: 13
Joined: 2020-05-22, 15:24 UTC

Re: [WDX] PCREsearch

Post by *LeoLUG »

Thanks *milo1012.
See please my post here.
Post Reply