lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


You need to use a library to do it.
There is POSIX for unix systems (which I recommend)
But there is also lfs (luafilesystem)

Regards.

-----Original Message-----
From: Frank Küster [mailto:frank@kuesterei.ch] 
Sent: Monday, 25 June 2007 10:47 PM
To: lua@bazar2.conectiva.com.br
Subject: Creating a directory in a lua script

Hi,

I need to create a temporary directory in a lua script, but I couldn't
find any information on how to do that.  Since this is supposed to be a
standalone script, I cannot use a function from the C-library, I guess.

Can someone give me a pointer?

Regards, Frank
-- 
Frank Küster
Single Molecule Spectroscopy, Protein Folding @ Inst. f. Biochemie, Univ.
Zürich
Debian Developer (teTeX/TeXLive)