if not DirectoryExists('c:\tmp\test') then CreateDir('c:\tmp\test') else CreateDir('c:\tmp\test_new');