Computer Hope
Other => Other => Topic started by: Clare Gillies on March 31, 2004, 05:38:52 PM
-
???
I want to check if a directory exists, create it if it doesn't and then put an ftp'd text file in it. In dos for a bat file.
-
How about using a conditional statement to check for the existense of the directory and create if necessary
then copy the file?
If exist c:\directory goto sub1
MD c:\directory
:sub1 copy c:\ftp.txt c:\directory\
Sal