How to create a directory in Lua?

后端 未结 4 1111
南旧
南旧 2021-02-19 20:46

Is it possible to create a directory in lua ? If so, how ?

4条回答
  •  遥遥无期
    2021-02-19 21:28

    You can use the paths package instead. Then you can simply do:

    require 'paths'
    
    paths.mkdir('your/dir')
    

提交回复
热议问题