cMainDir = GETDIR() cNewDir = cMainDir + 'Dump_'+TRAN(MONTH(DATE()))+'-'+TRANS(DAY(DATE())) MKDIR &cNewDirThis works fine if cMainDir does not contain any spaces. If it contains spaces, as in 'c:\Visual Fox Pro\' then it only creates the directory 'c:\Visual'.