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

94,426 Postings in 11,918 Threads, 348 registered users, 6 users online (0 registered, 6 guests)
Index | Admin contact |   Forum Time: Sep 21, 2019 - 11:36 pm EDT  |  Hits:28,655,091  (1,552 Today )
RSS Feed