Showing tag results for files

Nov 4, 2004
Post comments count0
Post likes count0

How Can I Delete All Files Older Than a Specified Date?

ScriptingGuy1
ScriptingGuy1

Hey, Scripting Guy! I’d like to have a script that can search my computer for all files older than a certain date, and then automatically delete those files. Can I do that?-- GM Hey, GM. Can you write a script that will search for and delete all the old files on your computer? You bet. Should you write a script that searches for and deletes all ...

Scripting Guy!VBScriptstorage
Nov 2, 2004
Post comments count0
Post likes count0

How Can I Delete the Files in the Temporary Internet Files Folder?

ScriptingGuy1
ScriptingGuy1

Hey, Scripting Guy! Is there a way to delete all the files in the Temporary Internet Files folder using a script?-- KR Hey, AK. You know, prompted by your question one of the Scripting Guys (who shall remain nameless) thought to himself, “Hmmm, I wonder what’s in my Temporary Internet Files folder?” Upon checking, he discovered the folder contai...

Scripting Guy!VBScriptstorage
Oct 20, 2004
Post comments count0
Post likes count0

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

ScriptingGuy1
ScriptingGuy1

Hey, Scripting Guy! How can I use a script to show me all the files in a folder? And then how can I modify that script so it shows me all the files in any subfolders of that folder?-- CS Hey, CS. Yesterday we showed everyone a script that changed all the files in a folder from read-only to read-write. We also promised that, in today’s column, we...

Scripting Guy!VBScriptstorage
Oct 19, 2004
Post comments count0
Post likes count0

How Can I Change a Read-only File to a Read-write File?

ScriptingGuy1
ScriptingGuy1

Hey, Scripting Guy! How can I change a read-only file to a read-write file?-- WR Hey, WR. We don’t mean to shock you, but how can you change a read-only file to a read-write file? Why, by using a script, of course! We know: you never saw that coming, did you? As a matter of fact, you can use this script, which changes the file C:\Scripts\Test.vb...

Scripting Guy!VBScriptstorage
Oct 14, 2004
Post comments count0
Post likes count0

How Can I Determine if My Users Have Certain Files on Their Computers?

ScriptingGuy1
ScriptingGuy1

Hey, Scripting Guy! Is it possible to search a computer for .MP3 files or other files my users aren’t supposed to have?-- AK Hey, AK. Once again it’s WMI to the rescue. Using the CIM_DataFile class it’s easy to search a computer for specific file types. Want to know if your users have any .MP3 files lying around? Then just use a script similar t...

Scripting Guy!scripting techniquesVBScript