Laziness is a virtue

Some scripts are complex and do lots of cool stuff. Others are simple and save a bunch of time.

I have a couple of scripts which prove to be so useful that I don't know when I'm using them anymore. I tend to type faster than I think (or get my fingers out of order when I type - you pick), so I used to often type things like 'eixt' instead of 'exit', 'noteapd' instead of 'notepad', and so on. When you type something, you expect certain results. In these cases, I want my CMD window to go away or Notepad to pop up, but they both end up with errors like:

    'eixt' is not recognized as an internal or external command,
operable program or batch file.

    Aside: This is a horrible error message. What ever happened to the humble "Bad command or filename"? This overly verbose message has undoubtedly increased tech support call times as the poor technicians listen to their hapless customers recite the error message. Or worse, they have to ask customers, "Did it say 'foo' is not recognized as an internal or external command, operable program or batch file?" Bit of a tongue-twister, that.

But back to the point.

I don't expect that message to show up, I expect action! I decided to take charge of my typing mistakes! I now have batch files in my C:\MyTools directory that look like this:

    eixt.cmd
exit

    noteapd.cmd
@notepad.exe %*

Lazy? Probably. Useful? Certainly. It's easier and more productive in the long run to create these little one-liners than to type slower or deal with the error message.