Thread
:
Moving files....
View Single Post
Apr 24th, 2005, 4:25 PM
#
2
Dameon
Troll
Join Date: Apr 2005
Location: Texas
Posts: 732
Rep Power:
4
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:
(
Toggle Plain Text
)
if the target directory exists tell the user stop otherwise move the source to target
if the target directory exists tell the user stop otherwise move the source to target
Dameon
View Public Profile
Visit Dameon's homepage!
Find More Posts by Dameon