| Problem with /R description-range
| touch /c a b
| describe a b "descr"
| dir /i"des*" => correctly lists a and b
| dir /r"des*" => lists only a
Using TCC 11.00.52 Windows XP [Version 5.1.2600], I found
that both dir commands list both a and b.
Then Steve Fábián wrote:
The command you have problems with is incorrect. /R isan option which is
unrelated to the /I option.
Help does not list /r as having anything to do with descriptions (so I agree with Steve), but the dir /r command above does indeed seem to select files with descriptions. Is there an omission of documentation for /r"text" in the dir command help?
| Help does not list /r as having anything
| to do with descriptions (so I agree with Steve), but the dir /r
| command above does indeed seem to select files with descriptions. Is
| there an omission of documentation for /r"text" in the dir command
In the OT's example it did that just by chance. In fact it does not
work. There is no omission in the documentation.
Well, I messed a few things up. In the real case I was looking for a way to list a bunch of files with PDIR (I use an alias to PDIR) with descriptions starting with 2 different strings. Repeating /I did not do the trick. In the help page "Description Ranges", I found "You can also search descriptions using regular expressions with /R"text"." WIth /R the result looked like what I wanted except that it did not list all files. I reduced the problem to a small case with DIR, then posted it.
I looked at the help for DIR (/R disables wrap) and PDIR (/R not listed) after reading your answers. Still, as seen from a user, /R"…" seems to deal with descriptions.