ZTree.com  | ZEN  | About...  

 Index   Back

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

By: Antti     Helsinki, FI  
Date: Dec 25,2018 at 01: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*.<"

951 views      
Thread locked
 

Messages in this Thread

 
96,637 Postings in 12,231 Threads, 350 registered users, 71 users online (0 registered, 71 guests)
Index | Admin contact |   Forum Time: Mar 29, 2024 - 12:45 am UTC  |  Hits:62,386,269  (1,055 Today )
RSS Feed