Mark Yocom's Script Tips

Scripting tips, covering batch, VBScript, and the occasional Perl script.

September, 2005

Posts
  • Mark Yocom's Script Tips

    Evolution of a solution

    • 2 Comments
    The other day, someone posted a message at work asking for a way to find out the drive letter for partition 1 on the first disk. The first response offered this: C:>echo list volume | diskpart Microsoft DiskPart version 5.1.3565 Copyright...
  • Mark Yocom's Script Tips

    Making your scripts look prettier

    • 0 Comments
    Many languages provide a mechanism to make their code look pretty. VBScript, for example, assumes one statement per line, but including an underscore at the end of the line indicates that your statement continues on the next line. Normal WScript.Echo...
Page 1 of 1 (2 items)