+ Post New Thread
Results 1 to 3 of 3
How do you do....it? Thread, File Rename Script in Technical; Hi, I've got a big folder with lots of subfolders that contain files with a specfic name e.g. PL0123_A, these ...
  1. #1

    Join Date
    Jan 2007
    Location
    Durham, UK
    Posts
    328
    Thank Post
    33
    Thanked 17 Times in 12 Posts
    Rep Power
    20

    File Rename Script

    Hi,

    I've got a big folder with lots of subfolders that contain files with a specfic name e.g. PL0123_A, these names are also stored inside a access database.

    I need to make a script that will scan for all .dwg files in a directory recursively. Then i need to look up each files name in the Access database see what the description is for that file and append it to the filename by renaming.

    Does anyone have any advice on whats the best language to do it in? And how i would do it easily...some code snippets would be nice

    Thanks
    Jack

  2. #2


    Join Date
    Feb 2007
    Location
    Northamptonshire
    Posts
    4,692
    Thank Post
    352
    Thanked 797 Times in 716 Posts
    Rep Power
    347
    For 0630hrs thought I'd suggest running the content from access into something "readable" perhaps just "filename" and "desc" and then you should be able to do this without too much drama I'd think.

    I have a script that currently just takes any .jpg files in a dir and renames them prefix-number-.jpg which could be extended I'd guess.

  3. #3

    Join Date
    Jan 2007
    Location
    Durham, UK
    Posts
    328
    Thank Post
    33
    Thanked 17 Times in 12 Posts
    Rep Power
    20
    Could i possibly see the script?

    And can the script recursively search dirs?

SHARE:
+ Post New Thread

Similar Threads

  1. Rename and Copy local file to Server
    By mrforgetful in forum How do you do....it?
    Replies: 4
    Last Post: 26th February 2008, 02:56 PM
  2. Delete certain file format using a script
    By FN-GM in forum Scripts
    Replies: 3
    Last Post: 27th December 2007, 12:17 AM
  3. Rename a PC from a batch file - Any ideas?
    By MrLudwig in forum Windows
    Replies: 13
    Last Post: 8th December 2007, 02:40 AM
  4. Script to get all file on a url
    By Midget in forum Scripts
    Replies: 5
    Last Post: 23rd January 2007, 01:10 PM
  5. Replies: 4
    Last Post: 23rd March 2006, 06:27 AM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •