Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by dominic617

  1. dominic617

    Changing file attributes of all files in a directory

    OPTION EXPLICIT DIM strExtensionsToDelete,strFolder DIM objFSO, MaxAge, IncludeSubFolders strFolder = "C:\NRTEcho\CSDOCS\" includeSubfolders = true strExtensionsToDelete = "DOC,doc,XLS,xls,PDF,pfd,PRF,prf,PPT,ppt" maxAge = 30 set objFSO = createobject("Scripting.FileSystemObject")...
  2. dominic617

    Changing file attributes of all files in a directory

    I have a script that will delete certain files, that are older than 30 days, within a folder and its subfolders. Here's the problem, some of those files are read only. I need help creating a script that will change all of the files in a folder and it's subfolders to read/write so the files can...

Part and Inventory Search

Back
Top