If I want to write a program that copies an already existing file on PC's Hardrive and save it to a folder. The folder also should be automatically created. How is this possible? Please help!!!
Printable View
If I want to write a program that copies an already existing file on PC's Hardrive and save it to a folder. The folder also should be automatically created. How is this possible? Please help!!!
I believe the functions you'll need are:
mkdir
filecopy
u will need more than that because you will ave to check if the folder is aready there before you create it i think a FSO will do better
you dont have to use fso's (even though i love them!) to see if a directory exists, you can use the Dir$ function
LOL ya i lkie them 2 :)....ya that is true also...just i think FSO's are easierQuote:
Originally posted by darre1
you dont have to use fso's (even though i love them!) to see if a directory exists, you can use the Dir$ function
What is a fso?
fso = FileSystemObject
dll = Microsoft Scripting Runtime
easy of use = doddle
smiley rating = :) :) :)