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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. JubileeAnalyst

    Conditionally moving files based on text string within file

    Correction:- "Access Denied" should read "Permission Denied
  2. JubileeAnalyst

    Conditionally moving files based on text string within file

    Hey everyone I thought I got everything working. But alas no... Upon execution an error appear saying "Access Denied". I tried just the same script but with CopyFile instead of MoveFile. It works fine. I assumed that when IT applied elevated privileges then it would work. But no, same "Access...
  3. JubileeAnalyst

    Conditionally moving files based on text string within file

    Hey Guitarzan thanks for the code! I had to alter it slightly to work. I had to change the StrDestinationLocation = "C:\MyFolder" to StrDestinationLocation = "C:\MyFolder\" and change fso.MoveFile fil.Path & ", " & StrDestinationLocation to fso.MoveFile fil.Path, StrDestinationLocation...
  4. JubileeAnalyst

    Conditionally moving files based on text string within file

    Hi My first thread here... This is a similar thread to the one recently posted about searching for text within a text file and then executing a line of code or not depending on whether the text string was found. I want to achieve something similar. Basically I want to test all files in a...

Part and Inventory Search

Back
Top