[Migrated content. Thread originally posted on 30 July 2008]
Hello,I am having an issue with the C$Copy command and I am wondering if anybody has any solutions for me. When I use UNC Pathing in my copy statement I get a status code of 1 returned when a "$" is present but at all other times it appears to work. For example
Source-file = "\\\\dell4\\c$\\program\\checks1.txt"
Dest-file = "\\\\dell4\\c$\\program\\save\\checks120080730.txt"
CALL "C$COPY" USING SOURCE-FILE DEST-FILE GIVING STATUS-CODE
this returns a status-code of 1 and the file does not copy.
However it I use the following example
Source-file = "\\\\dell4\\cdrive\\program\\checks1.txt"
Dest-file = "\\\\dell4\\cdrive\\program\\save\\checks120080730.txt"
CALL "C$COPY" USING SOURCE-FILE DEST-FILE GIVING STATUS-CODE
The copy command works fine.
We have a client who has some wild network setup going on and they will not setup mapped drives and will not change the share that we are able to use.:mad:
We are on the 7.0 version of the runtime and compiler.
Thanks for your help
Scott Meiners



