Showing tag results for files

Sep 23, 2009
Post comments count0
Post likes count0

Hey, Scripting Guy! Can I Sort Files by Creation Date?

ScriptingGuy1
ScriptingGuy1

Hey, Scripting Guy! I have a number of files that I work with based upon the date the file was created. I need an easy way to sort the listing of the files in a folder by creation date if possible. I am not sure this is even possible. When I look at the files in Windows Explorer, the date the file was created does not even appear. When I use the ...

Scripting Guy!Windows PowerShellstorage
Sep 22, 2009
Post comments count0
Post likes count0

Hey, Scripting Guy! How Can I Check for the Presence or Absence of a Text File?

ScriptingGuy1
ScriptingGuy1

Share this post:   Hey, Scripting Guy! We use text files in special folders to determine if we have performed an operation on a computer. For example, we might install a piece of software on a computer. While it is possible to query the Win32_Product WMI class to determine if the software has been installed or to query the reg...

Scripting Guy!Windows PowerShellstorage
Sep 21, 2009
Post comments count0
Post likes count0

Hey, Scripting Guy! How Can I Clean Up File Names?

ScriptingGuy1
ScriptingGuy1

Hey, Scripting Guy! We have a number of files that were manually created by various people in a common folder. Unfortunately, they did not follow a specific naming convention as well as they should, and as a result they do not sort very well. Some people preceded the file names with the word “File,” and others appended their name to the file....

Scripting Guy!Windows PowerShellscripting techniques
Sep 9, 2009
Post comments count0
Post likes count0

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

ScriptingGuy1
ScriptingGuy1

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 horrible at doing numbers. Maybe it was because we did not practice them as of...

Scripting Guy!Windows PowerShellscripting techniques
Apr 23, 2009
Post comments count0
Post likes count0

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

ScriptingGuy1
ScriptingGuy1

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 at least six lines of code to do anything. Is it possible to simplify this process by using Wind...

Scripting Guy!Windows PowerShellscripting techniques