for example,
i want to search desktop.ini that its content include a and dont include b:
desktop.ini content:<a !b>
i also want to search other file that its alternate-data-stream-ansi include a and dont include b:
alternate-data-stream-ansi:<a !b>
finally i combine them together:
<desktop.ini content:<a !b>> | < alternate-data-stream-ansi:<a !b> >
my question is how to reuse "<a !b>" ? that is write search fragment "<a !b>" once but twice ?
something like :
var=<a !b> < <desktop.ini content:$var> | <alternate-data-stream-ansi:$var> >
that is assigning search fragment to a variable , and refer the variable twice
thanks! thanks! thanks!
[help] how to reuse search fragment ?
Re: [help] how to reuse search fragment ?
Please try creating the following filter:
dcads:<123 !456>
This will expand to:
<desktop.ini content:<123 !456>> | < alternate-data-stream-ansi:<123 !456> >
-or-
With Everything 1.5, please try the following search:
[define:a=123][define:b=456]<desktop.ini content:<[a:] ![b:]>> | < alternate-data-stream-ansi:<[a:] ![b:]> >
-or-
Search for:
#define<:dcads<asearch,bsearch>=#<:<desktop.ini content:<#quote<:#asearch:#>: !#quote<:#bsearch:#>:>> | < alternate-data-stream-ansi:<#quote<:#asearch:#>: !#quote<:#bsearch:#>:> >#>:#>:
And then search for:
#dcads:123,456
- From the Search menu, click Add to filters....
- Change the Name to: Desktop.ini Content or ADS
- Change the Search to: <desktop.ini content:search:> | < alternate-data-stream-ansi:search: >
- Change the Macro to: dcads<search>
- Click OK.
dcads:<123 !456>
This will expand to:
<desktop.ini content:<123 !456>> | < alternate-data-stream-ansi:<123 !456> >
-or-
With Everything 1.5, please try the following search:
[define:a=123][define:b=456]<desktop.ini content:<[a:] ![b:]>> | < alternate-data-stream-ansi:<[a:] ![b:]> >
-or-
Search for:
#define<:dcads<asearch,bsearch>=#<:<desktop.ini content:<#quote<:#asearch:#>: !#quote<:#bsearch:#>:>> | < alternate-data-stream-ansi:<#quote<:#asearch:#>: !#quote<:#bsearch:#>:> >#>:#>:
And then search for:
#dcads:123,456
Re: [help] how to reuse search fragment ?
this is exactly what i want , thank you very very much !
Re: [help] how to reuse search fragment ?
@iamqz
Hmm... I think that you should send all thanks to void, not me
Hmm... I think that you should send all thanks to void, not me
Re: [help] how to reuse search fragment ?
thanks very*100 much