Welcome!

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

SignUp Now!

DIR /F and streams?

May
12,922
170
DIR /: /B produces this.
Code:
stoppers.btm
  dell.txt:$DATA
  intel.txt:$DATA

DIR /: /F produces this.
Code:
V:\stoppers.btm
V:\stoppers.btm:dell.txt:$DATA
V:\stoppers.btm:dell.txt:$DATAintel.txt:$DATA

The second one doesn't look right. What's up with that?
 
This doesn't look right either. The line printed doesn't match FFIND's criterion.
Code:
v:\> dir /s /: /f c:\* | ffind /k /m /v /e":.*:"
9501\schannel.mof
 
What did you think it was going to look like?
The one with "/B" is fine. The one with "/F" isn't. The one with "/F" should look like this.
Code:
V:\stoppers.btm
V:\stoppers.btm:dell.txt:$DATA
V:\stoppers.btm:intel.txt:$DATA

not like this.
Code:
V:\stoppers.btm
V:\stoppers.btm:dell.txt:$DATA
V:\stoppers.btm:dell.txt:$DATAintel.txt:$DATA
 
I don't think it makes any sense to use /F with /:.
And that doesn't make sense to me. It gets the first stream correctly and appends the name of the second stream to the previously printed file:stream. That just seems wrong. "/B" has no such problem.
 

Similar threads

Back
Top