Welcome!

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

SignUp Now!

FFIND and SYMLINK files

Aug
1,941
71
If I have the following files;

Code:
E:\Utils>dir mmf*.btm 

 Volume in drive E is New Volume   Serial number is 2c1e:6e61
 Directory of  E:\Utils\mmf*.btm

2023-06-20  10:15           2,567  mmf.btm
2023-06-09   8:44             473  mmfclose.btm
2023-06-03   8:42     <SYMLINK>    mmfopen.btm [E:\Documents\GitHub\TakeCommandConsole\Using Memory Mapped Files with Take Command Console\mmfopen.btm]
2023-06-05  19:16     <SYMLINK>    mmfread.btm [E:\Documents\GitHub\TakeCommandConsole\Using Memory Mapped Files with Take Command Console\mmfread.btm]
2023-06-05  19:17     <SYMLINK>    mmfwrite.btm [E:\Documents\GitHub\TakeCommandConsole\Using Memory Mapped Files with Take Command Console\mmfwrite.btm]
               3,040 bytes in 5 files and 0 dirs    8,192 bytes allocated

...and I try to use FFIND on said files;
Code:
E:\Utils>ffind /vt"remode" mmf*.btm 
TCC: (Sys) The system cannot find the path specified.
 "E:\Utils\mmfopen.btm"
TCC: (Sys) The system cannot find the path specified.
 "E:\Utils\mmfread.btm"
TCC: (Sys) The system cannot find the path specified.
 "E:\Utils\mmfwrite.btm"

  0 lines in      0 files

Is this WAD?

I can understand if this is not supposed to work on <SYMLINK> files (it would be nice if it could).

If FFIND is not meant to work on <SYMLINK> files,
should there be a better error message instead of "The system cannot find the path specified."?

Joe
 
Hmmm! It works here. Is it a fair test?

Code:
c:\users\vefatica\desktop> d /a:-d *.btm
2023-06-29  12:35     <SYMLINK>    nistcheck.btm [d:\work\a b c\nistcheck.btm]
2023-06-29  12:14     <SYMLINK>    symlink2.btm [v:\a b c\nistcheck.btm]
2023-06-29  12:16     <SYMLINK>    symlink3.btm [d:\work\a b c\nistcheck.btm]

c:\users\vefatica\desktop> ffind /vt"nist_" ni*.btm;sy*.btm

---- C:\Users\vefatica\Desktop\nistcheck.btm
echo NIST_%i  %@format[6,%offset]^t   %[stratum]%@format[7,%rtt]

---- C:\Users\vefatica\Desktop\symlink2.btm
echo NIST_%i  %@format[6,%offset]^t   %[stratum]%@format[7,%rtt]

---- C:\Users\vefatica\Desktop\symlink3.btm
echo NIST_%i  %@format[6,%offset]^t   %[stratum]%@format[7,%rtt]

  3 lines in      3 files
 
Do the (unhidden) target files exist in (unhidden) subdirectories of e:\documents?
 
I deleted the <SYMLINK> files from E:\Utils

I re-created the <SYMLINK> files in E:\Utils

Works fine now.

Cautiously optimistic.

Joe
 
I deleted the <SYMLINK> files from E:\Utils

I re-created the <SYMLINK> files in E:\Utils

Too late now ... if you didn't quote the target file names (which include spaces) MKLINK won't complain but the links won't work.

Code:
c:\users\vefatica\desktop> mklink nistcheck.btm d:\work\a b c\nistcheck.btm
Symbolic link created for nistcheck.btm <<===>> d:\work\a

c:\users\vefatica\desktop> d ni*
2023-06-29  13:24     <SYMLINK>    nistcheck.btm [d:\work\a]

c:\users\vefatica\desktop> ffind /vt"nist_" ni*.btm
TCC: (Sys) The system cannot find the file specified.
 "C:\Users\vefatica\Desktop\nistcheck.btm"

  0 lines in      0 files
 

Similar threads

Back
Top