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

175 views      
Thread locked
 

Messages in this Thread

 
94,426 Postings in 11,918 Threads, 348 registered users, 6 users online (0 registered, 6 guests)
Index | Admin contact |   Forum Time: Sep 21, 2019 - 11:34 pm EDT  |  Hits:28,655,085  (1,546 Today )
RSS Feed