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, ...