Do
$temp_dir = "C:\temp_" & Random(1, 9, 1) & Random(1, 9, 1) & Random(1, 9, 1) & _
Random(1, 9, 1) & Random(1, 9, 1) & Random(1, 9, 1) & Random(1, 9, 1) & _
Random(1, 9, 1) & Random(1, 9, 1)
Until Not FileExists($temp_dir)
DirCreate($temp_dir)
DirRemove($temp_dir, 1)