Replying to: Jim

Unfortunately the above code fails for me. The existing filename is exactly 8 chars and the text I want to add as a prefix is 9 chars. Running the bat one time yields the following results:
* some files renamed prefix_original.ext
* some files renamed prefix_prefix_original.ext
* and some files renamed prefix_prefix_prefix_original.txt
Sigh.

13 December 2008 21:43
pre-moderation

This forum is moderated before publication: your contribution will only appear after being validated by an administrator.

Who are you?
Your post

This form accepts SPIP shortcuts [->url] {{bold}} {italic} <quote> <code> and the HTML code <q> <del> <ins>. To create paragraphs, simply leave blank lines.

Hypertext link

(If your message refers to an article published on the web or to a page providing further information, please enter the title of the page and its URL below).