Click to See Complete Forum and Search --> : FileCopy


LarryLunchBucket
December 22nd, 1999, 12:00 PM
i no the code to copy a file to a location and its like this: FileCopy startpath, end path
for some reason thats not working, any suggestions?

BrewGuru99
December 22nd, 1999, 12:41 PM
Hey Mr. Bucket (or was it Piss? Dunno. Could never keep names straight.)

Could you post a sample of the code you are using with the FileCopy statement? If you are dynamically creating your file path it may be incorrect, also, I don't believe FileCopy will create a directory if it doesn't exsist.

Brewguru99

LarryLunchBucket
December 22nd, 1999, 01:50 PM
hey, i got it worked out, i put:
FileCopy "c:\whatever.whatever", "d:\whatever"
i screwed around and i put:
FileCopy "c:\whatever.whatever", "d:\whatever\whatever.whatever"
and that worked, thnx anyways