Showing tag results for files

Nov 28, 2006
Post comments count0
Post likes count0

How Can I Rename a Folder?

ScriptingGuy1

Hey, Scripting Guy! How can I add a suffix to a folder name? For example, I’d like to rename the folder C:\January to C:\January_2006.-- NB Hey, NB. You know, back in July the Scripting Guy who writes this column happened to wander through the living room while the Scripting Son was watching the world-famous Nathan’s Hot Dog-Eating Contest on ESPN...

Scripting Guy!VBScriptstorage
Nov 17, 2006
Post comments count0
Post likes count0

How Can I Delete All the .BAK Files in a Folder That Are More Than 7 Days Old?

ScriptingGuy1

Hey, Scripting Guy! How can I delete all the .BAK files in a folder that are more than 7 days old?-- KT Hey, KT. You know, on his way to work this morning the Scripting Guy who writes this column heard an advertisement for a local seafood restaurant. Now, this Scripting Guy doesn’t like seafood, so he normally wouldn’t pay any attention to an ad f...

Scripting Guy!VBScriptstorage
Oct 23, 2006
Post comments count0
Post likes count0

How Can I Use Windows PowerShell to Delete All the .TMP Files on a Drive?

ScriptingGuy1

Hey, Scripting Guy! How can I use Windows PowerShell to locate and delete all the .tmp files on a drive?-- OR Hey, OR. You know, there’s an old saying: Give a man a fish and he’ll eat for a day; teach that man to fish and he’ll eat for the rest of his life. Well, unless he’s like the Scripting Guy who writes this column and doesn’t like seafood...

Scripting Guy!Windows PowerShellstorage
Oct 10, 2006
Post comments count0
Post likes count0

How Can I Provide a Visual Indicator When Copying Files?

ScriptingGuy1

Hey, Scripting Guy! How can I provide a visual indicator of some kind when copying a large file or large set of files?-- SK Hey, SK. Before we do anything else we should note that the Scripting Guys – or at least the Scripting Guy who writes this column – don’t believe in moral victories. It’s nice that the University of Washington took USC – th...

Scripting Guy!VBScriptstorage
Sep 12, 2006
Post comments count0
Post likes count0

How Can I Identify the Last File in a Sequential List of Files?

ScriptingGuy1

Hey, Scripting Guy! I have a folder which contains thousands of files, all numbered sequentially. How can I tell which file is the last file in the list?-- AC Hey, AC. You know, one of the fun things about being a Scripting Guy is that we get to spend a lot of time shattering myths. For example, when we first started at Microsoft there was a myt...

Scripting Guy!VBScriptstorage