I am writing a program that crawls directories in a remote machine. I can acess the folders and read files. Eventually I will need to create a new folder, but I am failing to do this with dir:make() as:
`local path = [[\tele\Tele Entrega\Tele 2025\Novembro\Dia 11\asd]]
local dir = sys.Directory(path)
print(path)
-- cannot write to the Windows folder
if not dir:make() then
print("Error accessing "..": "..sys.error)
end`
This programs fails with: Error accessing: The system cannot find the specified path. And not directory is created