ZTree.com  | ZEN  | About...  

 Index   Back

Sort of works (fixed example)   [Q]

By: Martijn Coppoolse   Homepage   Voorburg, NL  
Date: Jan 07,2019 at 07:46
In Response to: Sort of works (Ben Kent)

> Testing a few options, this will return files with sh in the base name,
> and will match files with and without extensions.
>
> dir /a-d "


You probably mean

dir /a-d "<sh<.*"

(The forum accepts raw HTML, more or less, so you have to escape < (less than) as &lt;, otherwise the browser will see "<" as the start of a new HTML tag, causing it to ignore everything until the next ">" (usually the end of the <BR> at the end of the line).
Also, keep in mind that the forum's preview function will translate &lt; to <; after which pressing [Submit] from the preview page will still go wrong. When posting on this forum, I routinely do Ctrl+A, Ctrl+C, [Preview], Ctrl+V, so as to make sure I post the same text/code to the preview page as to the definitive post).


--
Martijn

135 views      
Thread locked
 

Messages in this Thread

 
94,382 Postings in 11,909 Threads, 347 registered users, 7 users online (0 registered, 7 guests)
Index | Admin contact |   Forum Time: Jul 17, 2019 - 4:31 pm EDT  |  Hits:28,069,044  (17,762 Today )
RSS Feed