Page 1 of 1

Create folder

Posted: Sat Oct 30, 2021 2:11 pm
by davoodice2
hi how to create folder with lua without os.excute?
I cant use "space" in os.excute for path of folder.my path is store in varable.

Code: Select all

	local dirPath = ...
   	os.execute( "mkdir ".. [[dirPath ]] )
or

Code: Select all

	local dirPath = ...
   	os.execute( "mkdir ".. [["dirPath" ]] )

solved!