General discussion

Locked

FileCopy syntax

By amcdt64 ·
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 conversation is currently closed to new comments.

3 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

FileCopy syntax

by jay In reply to FileCopy syntax

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

Collapse -

FileCopy syntax

by amcdt64 In reply to FileCopy syntax

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

Collapse -

FileCopy syntax

by amcdt64 In reply to FileCopy syntax

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

Back to Networks Forum
3 total posts (Page 1 of 1)  

Related Discussions

Related Forums