mailto:kenny@bgnett.no
$VER: PatternMove 1.0 (31.10.97)
Copyright (C) 1997 by Digital Surface/Kenneth "Kenny" Nilsen.
All rights reserved.
This little program (dosscript) will allow you to do advanced renaming on
files.
Installation -
- copy PMV to s:
- protect s:pmv +s
USAGE -
Template: PMV PATTERN/A,TOFORMAT/A
Pattern - the file(s) you want to rename
ToFormat - how to format the new filename(s).
List of usefull format args (see complete list under LFORMAT for the LIST
command in the DOS manual):
%E - Uses just the file extension
%M - Uses the filename only, omitting any extension
%N - Uses the whole filename
%P - Uses the file parent path (includes a ":" or "/")
Examples:
---------
Rename all mod.<files> to <files>.mod
1> pmv mod.#? %E.mod
Rename all <files>.txt to just <files>
1> pmv *.txt %M
-- If you have set current dir (CD) to another dir then where the files are:
Rename mod.<files>.pp to mod.<files>
1> pmv ram:mod.#?.pp %P%M
Regards,
---
/"`` Kenny mailto:kenny@bgnett.no http://www.bgnett.no/~kenny/
\/ software developer finger me for details
---
|