Scripting Blog [archived]

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

How Can I Share a Folder on a Remote Computer?

(image) Hey, Scripting Guy! How can I share a folder on a remote computer?-- RS(image) (image) (image) Hey, RS. One of the great things about WMI is the fact that - with one or two fairly obscure exceptions - anything you can do on the local computer you can also do on a remote computer. This is the big advantage scripting has over command...

How Can I Connect to a Folder When There’s an Apostrophe in the Folder Name?

(image) Hey, Scripting Guy! I’m using the WMI class Win32_Directory to get information about folders on a computer. It works great, except when there’s an apostrophe in the folder name; then, it doesn’t work at all. How can I use WMI to connect to folders that have apostrophes in their names?-- JO(image) (image) (image) Hey, JO. Ah, ...

How Can I Retrieve Disk Quota Information for a Single User?

(image) Hey, Scripting Guy! How can I retrieve disk quota information for a single user?-- AB(image) (image) (image) Hey, AB. There are a couple different ways to get disk quota information for a single user, depending on which version of Windows you have installed on the computer. If you’re running Windows XP or Windows 2003, you can ...