ZTree.com  | ZEN  | About...  

 Index   Back

Re: [Q] Windows DIR *sh*.*   [Q]

By: Antti     Helsinki, FI  
Date: Dec 24,2018 at 20:43
In Response to: [Q] Windows DIR *sh*.* still locates a file like "presenta.shw" from the extension (Ryan)

> 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*.<"

147 views      
 

Messages in this Thread

 
94,204 Postings in 11,883 Threads, 347 registered users, 6 users online (0 registered, 6 guests)
Index | Admin contact |   Forum Time: Mar 22, 2019 - 8:45 am EDT  |  Hits:27,414,085  (983 Today )
RSS Feed