Showing tag results for folders

Mar 31, 2005
Post comments count0
Post likes count0

How Can I Determine the Size of the My Documents Folder?

ScriptingGuy1
ScriptingGuy1

Hey, Scripting Guy! How can I determine the size of the My Documents folder?-- SC Hey, SC. The My Document folder is actually just another folder on the hard disk, one with a path similar to this: C:\Documents and Settings\kenmyer\My Documents. Of course, the actual path will vary depending on the name of the logged-on user; in addition, the My ...

Scripting Guy!VBScriptstorage
Mar 2, 2005
Post comments count0
Post likes count0

How Can I Create a Folder on the Start Menu?

ScriptingGuy1
ScriptingGuy1

Hey, Scripting Guy! How can I create a folder on the Start menu? I want the folder to be named the same as the %username% environment variable.-- SB Hey, SB. As we are wont to do, we’re going to break this question down into subtasks. We’ll explain how to do each of these subtasks, then at the end put the pieces together to create a single scrip...

Scripting Guy!VBScriptstorage
Feb 28, 2005
Post comments count0
Post likes count0

How Can I Determine if a Users’ Folder Exists on a Computer?

ScriptingGuy1
ScriptingGuy1

Hey, Scripting Guy! How can I determine if the C:\Documents and Settings\%username%\Application Data\Microsoft\Templates folder exists on a computer?-- JM Hey, JM. The FileSystemObject includes a FolderExists method that makes it very easy to check for the existence of a folder. Just pass FolderExists the complete path to the folder and you’ll q...

Scripting Guy!VBScriptstorage
Feb 18, 2005
Post comments count0
Post likes count0

How Can I List the Files in a Folder and All Its Subfolders?

ScriptingGuy1
ScriptingGuy1

Hey, Scripting Guy! How can I list all of the files in a folder, as well as all the files in any subfolders of that folder?-- MA Hey, MA. This is a question we get asked quite a bit, and one which have avoided answering up till now. That’s because there is no nice, simple answer to this one: a script that can carry out this task is bound to be a...

Scripting Guy!VBScriptstorage
Feb 11, 2005
Post comments count0
Post likes count0

How Can I Use a Wildcard Character to Delete Folders?

ScriptingGuy1
ScriptingGuy1

Hey, Scripting Guy! How can I delete folders based on a wildcard character? For example, how can I delete all the folders whose name starts with December?-- RR Hey, RR. Well, that depends. If you’re running Windows XP or Windows Server 2003, you can actually use a wildcard character to identify and then delete all the folders whose name starts w...

Scripting Guy!VBScriptstorage