|
|
OSCLI "MKDIR """+directory$+""""
|
exists% = OPENIN(directory$ + "\NUL") IF exists% CLOSE #exists% ELSE OSCLI "MKDIR """+directory$+""""
DEF PROCmkdir(directory$) ON ERROR LOCAL ENDPROC OSCLI "MKDIR """+directory$+"""" ENDPROC
SYS "CreateDirectory", directory$, 0