154/5000
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.
154/5000
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')
There’s built-in support for creating and removing directories - see CREATEDIRECTORY and REMOVEDIRECTORY in the Help
Also there is standard CLIB.clw, just include it in the global map and these 2 are available:
MkDir(*cstring),signed,raw,name('_mkdir')
RmDir(*cstring),signed,raw,name('_rmdir')
PS. Just noticed that CREATEDIRECTORY/REMOVEDIRECTORY are the wrappers around MkDir/RmDir.