Create Folder - cmd Prompt

Dear all,

Can any1 tell me the code to create a folder and also sub folders using command prompt.

Thks & Rgs

Samuel

use mkdir

Ya i tried but in 3.7 its workin and in 4.0 error is comin

What is the error message ?

In 4.0 SP3 this syntax (in a codeunit) did work:

SHELL(‘C:\WINDOWS\system32\cmd.exe’, ‘/c’, ‘md’, ‘“c:\program files\Just a Test”’);