Scripting Blog [archived]

Formerly known as the "Hey, Scripting Guy!" blog

How Can I Determine the Next Available Drive Letter on a Computer?

(image) Hey, Scripting Guy! How can I determine the next available drive letter on a computer?-- TW(image) (image) (image) Hey, TW. Interesting question, and one that crops up from time-to-time. In the old days, when users only had drives A, B, and C, this was easy; you could pretty much guess that any drive letter other than those three ...

How Can I Determine the Percentage of Free Space on a Drive?

(image) Hey, Scripting Guy! I know how to determine the amount of free space on a drive, but how can I determine the percentage of free disk space on a drive?-- MS(image) (image) (image) Hey, JP. You’re right: determining the amount of free disk space on a drive is pretty easy. For example, this simple little script tells you the amount ...