Showing results for storage - Scripting Blog [archived]

Jan 7, 2005
0
0

How Can I Share a Folder on a Remote Computer?

ScriptingGuy1
ScriptingGuy1

Hey, Scripting Guy! How can I share a folder on a remote computer?-- RS 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 line tools; a number of command line...

Scripting Guy!VBScriptstorage
Dec 17, 2004
0
0

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

ScriptingGuy1
ScriptingGuy1

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 Hey, JO. Ah, the apostrophe (also known as the single qu...

Scripting Guy!VBScriptstorage
Dec 10, 2004
0
0

How Can I Map Drives Based on Membership in a Group?

ScriptingGuy1
ScriptingGuy1

Hey, Scripting Guy! How can I map drives in a logon script based on a security group each user belong to?-- RO Hey, RO. Considering the fact that this question has been asked by approximately 3,755,392 of our readers - oops, there’s another one; make that 3,755,393 of our readers - we decided it might be a good idea for us to answer it. So here ...

Scripting Guy!VBScriptActive Directory
Dec 9, 2004
0
0

How Can I Rename Files Based on the File’s Creation Date?

ScriptingGuy1
ScriptingGuy1

Hey, Scripting Guy! I have a folder that contains a bunch of log files. I would like to rename each file based on the date the file was created; for example, if a file was created on December 1, 2004, I’d like to rename it 20041201.log. Is that possible?-- CK Hey, CK. Listen, when it comes to scripting, anything is possible. (Well, except for th...

Scripting Guy!VBScriptstorage
Nov 24, 2004
0
0

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

ScriptingGuy1
ScriptingGuy1

Hey, Scripting Guy! How can I retrieve disk quota information for a single user?-- AB 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 retrieve disk quota information for a use...

Scripting Guy!VBScriptstorage