Showing tag results for storage

Jul 29, 2008
Post comments count0
Post likes count0

Hey, Scripting Guy! How Can I Compare Files With the Same Name But Two Different Extensions?

ScriptingGuy1

Hey, Scripting Guy! After doing several restores we have folders with files named name.doc AND name.do (without "C"). How can we identify such pairs of files and do something to them based on a comparison?-- TN Hi TN, Scripts like the one we’ll develop in this article are the best tools I know of for dealing with this sort of problem. Dealing w...

Scripting Guy!VBScriptstorage
Jun 26, 2008
Post comments count0
Post likes count0

Hey, Scripting Guy! How Can I Copy Files Based on Multiple Criteria?

ScriptingGuy1

Hey, Scripting Guy! How can I match multiple criteria in a file name? I need to copy all the files in a folder that are less than 24 hours old, and that have file names beginning with the letters FS, CG, or GPS. How can I do that?-- EM Hey, EM. You know, today is an exciting day at Microsoft; it’s the day when we get our Spam Notification. ...

Scripting Guy!VBScriptstorage
Jun 21, 2008
Post comments count0
Post likes count0

Hey, Scripting Guy! How Can I Change the Letter Case of My File Names?

ScriptingGuy1

Hey, Scripting Guy (and the $12 million-a-year Scripting Editor)! Is there a way to mass-rename all the files in a folder, changing the letter case as needed?-- MV Hey, MV. To begin with, we should mention that we know that you actually asked two questions in your email. We’re going to deal with the first question – mass-renaming of a...

Scripting Guy!VBScriptstorage
Jun 19, 2008
Post comments count0
Post likes count0

Hey, Scripting Guy! How Can I Use a File Mask When Renaming Files?

ScriptingGuy1

Hey, Scripting Guy! How can I change file names using a file mask? You know, like when you run the command-line command ren ??x???p?.* ?a????bc.x??.-- AM Hey, AM. Well, the big news out of Seattle is that the Mariners have fired their general manager, Bill Bavasi; that’s to be expected when you spend $117 million on salaries and the team yo...

Scripting Guy!scripting techniquesVBScript
Jun 3, 2008
Post comments count0
Post likes count0

Hey, Scripting Guy! How Can I Move Files Based on Their Three-Part File Name?

ScriptingGuy1

Hey, Scripting Guy! I have a folder filled with invoice files. Each of these files has been given a file name based on a specific three-part naming convention: a three-letter abbreviation of the vendor name; the invoice date (e.g., 06032008) ; and the invoice number (which can be of varying length). In other words, all the files have names like t...

Scripting Guy!VBScriptstorage