- Aug
- 2,320
- 111
If I understand correctly, this FSearch syntax will;
/G Change to the directory containing the first matching file (also sets /F and overrides /V)
/S Search subdirectories of the specified (or default) path.
/-1 Stop after n matches
It does not stop after the first match,
It does not change to the directory containing the first matching file.
What am I not doing correctly with that FSearch syntax?
For the past few years,
I have been using the following (part of my c2p.btm),
which is much faster;
Joe
/G Change to the directory containing the first matching file (also sets /F and overrides /V)
/S Search subdirectories of the specified (or default) path.
/-1 Stop after n matches
Code:
E:\>timer fsearch /g /s /-1 bp.csv
Timer 1 on: 17:26:23
E:\\Documents\bp\bp.csv
E:\\Documents\vfp\bp\BP.csv
E:\\Utils\BP.csv
Matching lines: 0 Matching files: 3 Total files searched: 3
Timer 1 off: 17:27:12 Elapsed: 0:00:49.463
It does not stop after the first match,
It does not change to the directory containing the first matching file.
What am I not doing correctly with that FSearch syntax?
For the past few years,
I have been using the following (part of my c2p.btm),
which is much faster;
Code:
E:\>timer "C:\Program Files\JPSoft\TCMD%_vermajor\es.exe" /a-d -whole-word bp.csv
Timer 1 on: 17:25:03
E:\Documents\bp\bp.csv
E:\Documents\vfp\bp\BP.csv
E:\Utils\BP.csv
U:\BP.csv
E:\Documents\vfp\bp\BP.csv.bak
C:\Users\jlcav\AppData\Roaming\Microsoft\Windows\Recent\BP.csv.lnk
Timer 1 off: 17:25:03 Elapsed: 0:00:00.082
Joe