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
certutil -decodehex nc.hex nullchar.txt
No need for fsutil and its annoying insistence on being run as administrator.
PS: Don’t despair, my little XP bunnies. Read this and start downloading.