lua-users home
lua-l archive

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

What do you mean by a temporary directory? Temporary files are automatically
deleted when closed or upon program termination. Do you need the same
semantics on your temporary directory?

If you have no need for portability and you simply want to create a regular
directory you could "os.execute" some mkdir (or equivalent) command. 

-----Original Message-----
[] On Behalf Of Frank Küster
Sent: segunda-feira, 25 de junho de 2007 09:47
Subject: Creating a directory in a lua script


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)