Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

How to? @search problem

Jul
441
6
Based on how I read the docs. I should be getting a filename result when issuing:
Code:
echo %@search[tcmdv2*.exe,"c:\jpsoft\"]
actual result
Code:
ECHO is OFF
What I expect is
Code:
C:\JPSOFT\TCMD20x64\tcmdv20-11-46.exe
I have tried many many variations of the program name with little success. Even the exact name of the file without a wildcard.
Clearly I don't understand how @search works or the proper syntax required.
How can I use @search program wildcards to locate an existing file in a sub-directory like the one specified in the example above?
I am expecting @search to look in the sub-directories of C:\jpsoft\ to find the exec file, like the docs show.
Code:
echo %@search[msv*.dll,"d:\my dir\"]
D:\my dir\test\msvc.dll
C:\>ver

TCC 21.01.47 x64 Windows 10 [Version 10.0.15063]
 
I don't think @SEARCH recurses. Try @execstr[ffind /s /k /m ...]
Code:
p:\mapm> echo %@execstr[ffind /s /k /m g:\tcc.exe]
G:\TC11\tcc.exe
 

Similar threads

Replies
2
Views
2K
Back
Top