On Sat, 08 Apr 2006 11:46:08 GMT, Anders Thulin
<ath_no_spam_please RemoveThis @algonet.se> wrote:
>John Webb wrote:
>> A few years ago while visiting one of the FM websites I ran across a batch
>> file that would strip the leading contest numbers from all the FM files in
>> your directory. For example "c2020_XXXXXX.ZIP". I can't seem to locate this
>> file again. Can someone tell me where I can find it? Thanks!
>
> Look for batch file rename utilities, and check out what kind of file name
>rewriting they can use.
>
> On Windows, I occasionally use one by Softech Intercorp called BatchRename ...
>in your case the trick seems to be to use
>
> {Split(_,2) + <no extension>
>
>as new file name. The wizard mode shows how the files will be renamed, so it's
>easy to experiment.
The DOs command C: > ren c2020_*,zip *.zip should do it. Experiment
first though, I tried with XP pseudo DOS and it works OK with that.
>> Stay informed about: Batch file