Posted by greg on September 18, 2006 at 07:25:13:
I upgraded a user to the lastest File system - switched them from 'S' to 'C' type directories and the following subroutine fails:
COPYACH:
SOURCE$ = '\\cityhall\locis\locis\dat\ACHFILE'
DEST$ = "A:\"+'ACHFILE'
FLAGS = 2048
PRINT(0) (COPYFILE=SOURCE$,DEST$,FLAGS)
input(0,result)
ax$ = sub(ax$,2,1) + sub(ax$,1,1)
funcerror = hexdec(ax$)
if funcerror ne 1
cosctltext$ = "There is a problem...please insert a floppy and try again!."
GOSUB ERRORMSG
ELSE
cosctltext$ = "The copy was successful!."
GOSUB ERRORMSG
ENDIF
RETURN
The source is \\cityhall\locis\locis\dat\achfile and the dest is a:\achfile and both of these are accurate. Any help would be great.