Todd wrote:
>
> The expanded script look like
>
> rename d:\MyBackup\backup1 d:\MyBackups\backup2
>
> I am renaming to the same drive
>
> I am renaming directories, not files. The directories are full
> of stuff. Takes about 20 minutes to rename. Bummer.
<repost - first one didn't seem to go anywhere>
I'd start by looking here first. This site helped me, when I
was whipping together an MSDOS floppy.
It says "rename" is for files, and "move" is for directories,
whatever that means.
http://www.vfrazee.com/ms-dos/6.22/help/rename.htm
If that isn't it, I'd check to make sure the attempt to "rename",
isn't picking up a script or executable of the same name, from
somewhere in your execution path. Sometimes, when writing scripts,
you give absolute paths for the tools, to prevent surprises. Or,
you define the execution path, local to the script, so the script
doesn't "escape into the woods" :-) Perhaps a built-in command has
priority over a path search, but I don't know enough about your
environment to say what might be the case. I'd just experiment
until I got the right results.
Paul