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).


Thread locked

Messages in this Thread

95,075 Postings in 11,986 Threads, 350 registered users, 28 users online (0 registered, 28 guests)
Index | Admin contact |   Forum Time: Aug 13, 2020 - 3:39 pm EDT  |  Hits:33,092,826  (16,748 Today )
RSS Feed