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 Shaun E 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. Nashvegas

    path not found error when trying to rename a file

    WOOHOO!!!! It works great! Thank you. I used the debug tip also, that would have been a big help if I had known to do that. Thanks again.
  2. Nashvegas

    path not found error when trying to rename a file

    I am trying to write a script that will do several things one of which is rename some files with the original name plus the date and time. I have looked at other posts on how to do this and believe my code to be exactly the same as some of those. I keep getting an error, "path not...
  3. Nashvegas

    Move files to specific folders based on filename

    Everyone, Thank you for your responses. I finally have it figured out. infinetelo - your response was key. The last issue I had was just in the way I had my path's laid out. Here is the final working code, there are other things I have to add for error trapping, etc., but this was the thing I...
  4. Nashvegas

    Move files to specific folders based on filename

    infinitelo, Thank you. It took me a little while to understand what you were telling me. I am much closer now, at least I feel like I'm on the right track. Here's what I have now. DATE2 = DateAdd("d", -2, Date) ' Set FSO = CreateObject ("Scripting.FileSystemObject") Set...
  5. Nashvegas

    Move files to specific folders based on filename

    Here is what I have so far. The problem is with the MoveFile statement. How do I match up the first 3 characters of the filename to the correct first 3 characters of the folder name, then move the file there. Again, thanks for all help in advance. Option Explicit DATE2 =...
  6. Nashvegas

    Move files to specific folders based on filename

    Sorry, I should have mentioned this in the original post. The folder names change. We store 100 files, then go to the next number (a number our system creates). So you fill folder name "345000" with file names "345000 - 345999"
  7. Nashvegas

    Move files to specific folders based on filename

    I am trying to create a script that will check the date created of a file, then move it to a specific folder based on that file name, if it is so old. Example Folders: 345000, 346000, 347000 Files: 345678, 346898, 345123 The files beginning with the same first 3 characters would go to that...

Part and Inventory Search

Back
Top