Welcome to TechNet Blogs Sign in | Join | Help

Browse by Tags

All Tags » folders   (RSS)

Hey, Scripting Guy! Can I Create New Folders in a Sequentially Numbered Series?

Share this post: Hey, Scripting Guy! I hate to type numbers. I actually took typing in high school and did really well with it. I was able to type more than 40 words per minute at the end of the class with no errors. I got an A for the class. But, I was

Hey, Scripting Guy! Can I Delete All Files from Nested Folders and Subfolders?

Share this post: Hey, Scripting Guy! At work we have a series of folders that are used to store files for a month. At the end of the month, we need to delete all of the files that are in the folders and start over. The folder structure is very nested;

Hey, Scripting Guy! Can I Determine Which Folders Are Using the Most Space on My Computer?

Hey Scripting Guy! I have a laptop that I bought last year with Windows Vista installed on it. I love it. However, I have been reading all the positive reviews surrounding Windows 7, and I think I am going to install Windows 7 as soon as it is available.

Hey, Scripting Guy! Quick-Hits Friday: The Scripting Guys Respond to a Bunch of Questions (7/3/09)

How Can I List Files and Folders with Special Characters in Their Names? Hey, Scripting Guy! First I would like to thank you for all the good humour you present me every time I need you. I’m trying to use one of your scripts to list the files and folders

Hey, Scripting Guy! Quick-Hits Friday: The Scripting Guys Respond to a Bunch of Questions (05/22/09)

How Can I Determine if a Particular Windows Feature Is Installed? Hey, Scripting Guy! I am new to Windows PowerShell scripting and have a little experience with WMI thanks to your Windows PowerShell Scriptomatic tool. I'm trying to determine whether a

Hey, Scripting Guy! How Can I Work with Directories, Files, and Folders by Using Windows PowerShell?

Hey, Scripting Guy! This may not sound too exciting, but I do a lot of work with files and folders. I constantly have to create folders and files, move files, and move folders. This was easy to do by using VBScript, but nevertheless it always required

Hey, Scripting Guy! Quick-Hits Friday: The Scripting Guys Respond to a Bunch of Questions (01/09/09)

How Can I Tell the Status of Services on a Computer? Hey, Scripting Guy! I’m wondering if you can help me before I tear all my hair out. I’m trying to write a script using WMI that checks for a few core services such as antivirus, remote desktop software,

Hey, Scripting Guy! How Can I Determine Folder Size?

Hey, Scripting Guy! We are getting ready for a migration, and I am trying to find an easy way to determine the size of the Documents folder. I would like to use Windows PowerShell to do this, but when I use the Get-Item cmdlet to retrieve the properties

Hey, Scripting Guy! How Can I Find Folders Whose Name Fits a Specified Pattern?

Hey, Scripting Guy! I have a bunch of folders that had names like this: BAD_20080411; in other words, the characters BAD_ followed by the date. These folders can be on any drive on my computer. How can I write a script that will locate all these folders
Posted by ScriptingGuy | 0 Comments
Filed under: ,

Hey, Scripting Guy! How Can I Return a List of All the Folders Whose Name Starts With a Specified String Value?

Hey, Scripting Guy! How can I find all the folders that start with a specific string? For example, given the string 123 the script would find folders 123000 through 123999. -- MD Hey, MD. Here in the US we’re still busy trying to figure out who’s going
Posted by ScriptingGuy | 0 Comments
Filed under: ,

Hey, Scripting Guy! How Can I Write a Message to All the Empty Files in a Folder?

Hey, Scripting Guy! I need to search a certain directory for files with a size of 0 KB, then replace the non-existent text in those files with an error message like this one: "File did not save correctly." I have been searching for the answer myself and

Hey, Scripting Guy! How Can I Determine If Any of the Files in a Folder Have Been Modified in the Past 90 Days?

Hey, Scripting Guy! On my file servers I periodically want to check a folder to see if that folder or any of its subfolders have files that are no longer being updated. What I’d like to do is check each file in each folder to see if they’ve been modified

How Can I Create a Sequential Series of Folders?

Hey, Scripting Guy! How can I prompt a user to enter a starting number and ending number, then create a sequential series of folders based on those two numbers? -- PM Hey, PM. We had some time to kill this afternoon, so we thought we’d see what we could
Posted by ScriptingGuy | 0 Comments
Filed under: ,

How Can I Use Information in an Excel Spreadsheet to Rename a Set of Folders?

Hey, Scripting Guy! How can I rename a bunch of folders using a script? The old folder names are in the first column of an Excel spreadsheet and the new folder names are in the second column of an Excel spreadsheet. -- SF Hey, SF. Oh, and welcome to Hey,

How Can I Locate All the Folders That Have \Archive\ASN\ in the Path?

Hey, Scripting Guy! How can I locate all the folders on a computer that have \Archive\ASN\ somewhere in the path? -- AB Hey, AB. We hope this message finds you well. Perhaps you are surprised to hear from us like this; a mutual friend provided us with
More Posts Next page »
 
Page view tracker