MOVEDIR
Purpose: | Move a directory tree |
Format: | MOVEDIR source destination |
source | The source directory tree |
destination | The target directory tree |
Usage:
Both source and destination must be directory names. If destination does not exist, MOVEDIR will create destination and move source to destination. If destination already exists, MOVEDIR will append the last subdirectory name in source to destination, create the new subdirectory, and move source to destination. (This allows you to rename the target directory.)
Examples
To move d:\test\mydir to x:\mydir:
movedir d:\test\mydir x:\
To move d:\test\mydir to x:\myolddir:
movedir d:\test\testmydir x:\myolddir