Scripting Blog [archived]

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

How Can I Get the Names of 10 Randomly-Selected Files in a Folder?

(image) Hey, Scripting Guy! How can I get the names of 10 randomly-selected files in a folder? I need to do that so I can test and verify our backup and restore policies.-- CS(image) (image) (image) Hey, CS. You know, if you’re interested in things that are random, haphazard, arbitrary, or downright chaotic, well, you came to the right ...

How Can I Get a List of All the .dll Files in a Folder, Along with Their Version Numbers?

(image) Hey, Scripting Guy! How can I get a list of all the .dll files in a folder, along with their version numbers?-- DD(image) (image) (image) Hey, DD. You know, when we sit down to write this column we usually try to start off with an amusing and at least semi-relevant anecdote. In this case, that would mean a cute story about file ...

How Can I Use a Script to Automatically Queue Up Files That I Want to Burn to a CD?

(image) Hey, Scripting Guy! In Windows XP, how can I use a script to automatically queue up files that I want to burn to a CD?-- BD(image) (image) (image) Hey, BD. Well, unfortunately, we have some bad news for you: there’s currently no way to burn a CD using a script. You see, the problem is that - oh, wait a second: you just want to ...