From Newsgroup: comp.os.msdos.misc
On Thu, 6 May 2021 10:59:35 -0700 (PDT), Chris Roberts wrote:
How do you search for a literal "!" within findstr command using DOS
Can it even be done?
for instance I want to see all the lines in a file that have a "!" in them. $ findstr -i "\!" file.txt
!(Nope nothing)
Does anyone have any ideas?
Is the text file actually has the `!` character, and not the Unicode
characters which look like `!`?
If you're using WINE in Linux, IIRC, you'll have to type the full (EXE) file name including its extension.
--- Synchronet 3.18c-Linux NewsLink 1.113