View Single Post
Old Apr 24th, 2005, 4:25 PM   #2
Dameon
Troll
 
Dameon's Avatar
 
Join Date: Apr 2005
Location: Texas
Posts: 732
Rep Power: 4 Dameon is on a distinguished road
This is where IO.Directory comes in. It has functions to tell if a directory exists and to move them. So it comes down to some simple pseudocode:

if the target directory exists
   tell the user
   stop
otherwise
    move the source to target
Dameon is offline   Reply With Quote