Lito Yap
Ansys Employee
Try the system script command,
system("mkdir foldername");
Which will create a new folder in the current working directory in FDTD.