W
William Hymen
Quite some time ago I installed the MKS
tookit, which gives me "unix find", grep, egrep, etc.
But, I need to recursively find and display a folder
but not hte contents, from 2 or 3 snippits of the filename-
e.g.
cd d:\file_data\root_folder
unix-find.exe . | grep -i fx | grep -i serve | grep -i 2.3
retrurns eight hits, including the files.
d:\file_data\root_folder\inbox\fxapp_server2.3
d:\file_data\root_folder\inbox\fxapp_server2.3\fxapp_server2.3.zip
d:\file_data\root_folder\inbox\fxapp_server2.3\fxapp_server2.3.md5
d:\file_data\root_folder\inbox\fxapp_server2.3\fxapp_server2.3.txt
::
d:\file_data\root_folder\outbox\fxapp_server2.3
d:\file_data\root_folder\outbox\fxapp_server2.3\fxapp_server2.3.zip
d:\file_data\root_folder\outbox\fxapp_server2.3\fxapp_server2.3.md5
d:\file_data\root_folder\outbox\fxapp_server2.3\fxapp_server2.3.txt
Preferrably, I need a NT script or VB script to return just
the root folders, *not* the contents, when I pass the
two or three search strings: e.g. fx server 2.4
should return just:
d:\file_data\root_folder\inbox\fxapp_server2.3
d:\file_data\root_folder\outbox\fxapp_server2.3
Thanks in advance-
Bill
tookit, which gives me "unix find", grep, egrep, etc.
But, I need to recursively find and display a folder
but not hte contents, from 2 or 3 snippits of the filename-
e.g.
cd d:\file_data\root_folder
unix-find.exe . | grep -i fx | grep -i serve | grep -i 2.3
retrurns eight hits, including the files.
d:\file_data\root_folder\inbox\fxapp_server2.3
d:\file_data\root_folder\inbox\fxapp_server2.3\fxapp_server2.3.zip
d:\file_data\root_folder\inbox\fxapp_server2.3\fxapp_server2.3.md5
d:\file_data\root_folder\inbox\fxapp_server2.3\fxapp_server2.3.txt
::
d:\file_data\root_folder\outbox\fxapp_server2.3
d:\file_data\root_folder\outbox\fxapp_server2.3\fxapp_server2.3.zip
d:\file_data\root_folder\outbox\fxapp_server2.3\fxapp_server2.3.md5
d:\file_data\root_folder\outbox\fxapp_server2.3\fxapp_server2.3.txt
Preferrably, I need a NT script or VB script to return just
the root folders, *not* the contents, when I pass the
two or three search strings: e.g. fx server 2.4
should return just:
d:\file_data\root_folder\inbox\fxapp_server2.3
d:\file_data\root_folder\outbox\fxapp_server2.3
Thanks in advance-
Bill