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

321 views      
Thread locked
 

Messages in this Thread

 
95,075 Postings in 11,986 Threads, 350 registered users, 105 users online (0 registered, 105 guests)
Index | Admin contact |   Forum Time: Aug 13, 2020 - 4:25 pm EDT  |  Hits:33,093,980  (17,902 Today )
RSS Feed