Discussion Locked

FileCopy syntax

0 helpful
3 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

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..;)

3 replies

by jay

Double check your drive mappings and make sure that they are pointing to the C drive instead of the D drive

by amcdt64

I'm not sure I know what you mean,the C drive is mapped, the directories are correct..I understand that this is the syntax
\\machinename\[drivename]\file
what I'm confused about is the
\consvc01_c\ portion of the path
this represents the drive name ?
should it be \C$\ or
\consvc02_c$\
??????
thanks for any suggestions I need to get this resolved yesterday.....this process used to work and I don't understand why it doesn't now
A

by amcdt64

not sure what you mean, the c drive is mapped....from what I understand
\\machinename\[drivename]\file is the correct syntax
I'm confused about the \consvc01_c\ portion of the path...is this correct? or should it be
\consvc01_C$\ or just \C$\.....??????
thanks for any suggestions!!
A

This discussion is closed to new replies.