<< Click to Display Table of Contents >>

Navigation:  TCC > Commands >


Purpose:Move a directory tree


Format:MOVEDIR source destination


sourceThe source directory tree
destinationThe target directory tree


File Completion Syntax:


The default filename completion syntax is: dirs




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.)


For example, 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