SET VAR vlscandir = (SRPL((CVAL('CURRDIR')+ '\TRAIL\' ), '\\', '\',0)) SET VAR vsscandir = ('TRAIL\') SET VAR vChkDir INTEGER = NULL SET VAR vChkDir = (CHKFILE(.vLScanDir)) IF vChkDir <> 1 THEN MKDIR &vSScanDir ENDIF
R>sho v vlscandir C:\IEX_X\TRAIL\ This sequence fails. The directory exists but vChkDir = 0 whereas it should be 1 and MKDIR command fails with "-ERROR - Unable to Create Directory (2269)" I cannot see what's wrong here. I even copied RRBYW19 code. TIA, Claudine -- For group guidelines, visit http://www.rbase.com/support/usersgroup_guidelines.php --- You received this message because you are subscribed to the Google Groups "RBASE-L" group. To unsubscribe from this group and stop receiving emails from it, send an email to rbase-l+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.