ZTree.com  | ZEN  | About...  

 Index   Back

Sort of works   [Q]

By: Oliver Pretzel       
Date: Dec 28,2018 at 06:33
In Response to: Re: [Q] Windows DIR *sh*.* (Antti)

> > dir *sh*.*
> > still locate a file like "presenta.shw" taken from the extension
> > [...]
> > is there a way in windows not to match a string from a file
> extension?
>
>
> Yes, the following works here (note the quotes around the mask, and the
> use of the < wildcard):
>
> dir "*sh*.<"

This works, but will not find matching files with no extension.

It does not work under 4NT/TCLE, but
dir *sh*.[?]
does (no quotes needed) This also does not find matching files with no extension

Oliver

143 views      
 

Messages in this Thread

 
94,273 Postings in 11,892 Threads, 347 registered users, 4 users online (0 registered, 4 guests)
Index | Admin contact |   Forum Time: May 20, 2019 - 6:29 am EDT  |  Hits:27,735,778  (3,130 Today )
RSS Feed