When in PFTW, how can I use SCRDIR or must I do this some other way?
(Edited by Blackdog at 5:55 pm on Feb. 4, 2002)
Posted 04 February 2002 - 18:31
(Edited by Blackdog at 5:55 pm on Feb. 4, 2002)
Posted 04 February 2002 - 21:24
Posted 05 February 2002 - 15:41
Remember, I want to use PFTW and replace this file only if it exists.
nResult = Is (FILE_EXISTS, svResultPath ^ "\\xxxsys\\xxxnsf\\xxxnsf31.exe");
if nResult = 1 then // 1 = true, 0 = false
SRCDIR = SUPPORTDIR;
TARGETDIR = svResultPath ^ "\\xxxsys\\xxxnsf";
nResult = CopyFile ("rlinsf31.exe", "xxxnsf31.exe");
if nResult < 0 then
sFile = "xxxnsf31.exe";
CopyFileError(nResult, sFile);
endif;
endif;
(Edited by Blackdog at 2:47 pm on Feb. 5, 2002)
Posted 06 February 2002 - 11:15