-
I am trying to make an app that will allow a user to input their user name, select a directory on their local hard drive, and do a sort of Xcopy (a la DOS) where it would confirm if the file is to be overwritten if it exists.
I do now know how to copy directory.
I do not know how to select the contents of a directory.
I do not event know how to copy the files, when there is more than one.
The other problem I have is the program will make a directory if the user name is new. If I run the program the network drive would have k:\backup\shook1s. I can create the directory, but if I run the code again it spits it out.
I know these questions sound basic...
but any help would be appreciated.
Thanks
-
<?>
As there is no code to go by and you have not indicated an error code, this might be an overly stupid reply but that's neither here nor there.
Code:
Do you have and if statement involved
If dir("k:\backup\shook1s.ext") <> "" then
mkdir ("K:\backup\shook1s.ext")
bla
bla
bla
else
bla bla bal
End If