FileCopy syntax - TechRepublic
General discussion
August 8, 2002 at 04:20 AM
amcdt64

FileCopy syntax

by amcdt64 . Updated 23 years, 11 months ago

I have a process that will copy a bunch of files on a server to the c drive of about 30 users, a bit of history, there used to be a shared d drive, got rid of that and now the files needed to copied to the users c drives. The c drive is shared but something in this syntax is incorrect b/c I keep getting the error, path not found 76.
When the process finishes getting the files it goes to FileCopy which is where I get the error here is the path that is created and is wrong, can anyone tell me what is wrong, I am assuming it is the syntax of the varible strDest but i’m not sure b/c the error is simply that the path is not found, I’m assuming its the destination path????
FileCopy strSource, strDest
results =
\\hampls02.hd.com\hdplus99\maps\authserv.dat,
\\consvc01-ntws\consvc01_c\plus99\maps\authserv.dat
thanks for any help
Abbe
ps this used to work when it went out to a shared d drive….why it doesn’t work now is why I’m asking the question..;)

This discussion is locked

All Comments