filter text with certutil

Discussion forum for all Windows batch related topics.

Moderator: DosItHelp

Post Reply
Message
Author
Sponge Belly
Posts: 203
Joined: 01 Oct 2012 13:32
Location: Ireland
Contact:

filter text with certutil

#1 Post by Sponge Belly » 23 Feb 2013 17:41

Hello All!

Herbert Kleebauer recently posted this article on the alt.msdos.batch.nt newsgroup. He demonstrates how to filter out all control characters and extended ASCII characters from an input file using the wondrous certutil.

The possibilities for certutil are endless. It’s my new favourite toy. :-) Here, for example, is how to create a file containing a single null character:

Code: Select all

>nc.hex echo(00
certutil -decodehex nc.hex nullchar.txt
del nc.hex


No need for fsutil and its annoying insistence on being run as administrator.

- SB

PS: Don’t despair, my little XP bunnies. ;-) Read this and start downloading.
Last edited by Sponge Belly on 24 Feb 2013 06:39, edited 1 time in total.

Squashman
Expert
Posts: 4206
Joined: 23 Dec 2011 13:59

Re: filter text with certutil

#2 Post by Squashman » 23 Feb 2013 20:17

Another thread where certutil was used.
viewtopic.php?f=3&t=3980

Post Reply