MKDIR command in Clarion 10


I was aware of the possibility of using DOS commands in Clarion, among them MKDIR.
I would if it is possible and if so, how to make the Clarion accepted.

You can launch any DOS command using RUN:

RUN('cmd.exe /c mkdir a\b\c')

1 Like

There’s built-in support for creating and removing directories - see CREATEDIRECTORY and REMOVEDIRECTORY in the Help

1 Like

Also there is standard CLIB.clw, just include it in the global map and these 2 are available:


PS. Just noticed that CREATEDIRECTORY/REMOVEDIRECTORY are the wrappers around MkDir/RmDir.