Archive for May, 2008

Getting a Substring Out of Batch

One of my friends, Andrew from Vancouver, sent me this extremely useful tip about how to grab a sub-string via BATCH. <snip> here’s a CMD shell tip that works in W2K, WXP, and W2K3. There is a BASIC MIDSTR function equivalent in batch files… use this syntax as a modifer: ~:start,end e.g. set foo=\\servername @echo [...]

The Nuclear Tomato

What’s in a name? At one point in my high school experience, we happened upon an old 2-door, beat-up Datsun B210 that my dad was able to purchase from the owner for a whopping $50. I remember taking pride (oddly) in the fact that I had to pay more for insurance than we had paid [...]