lua-users home
lua-l archive

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

Frank Küster <> writes:

> Luiz Henrique de Figueiredo <> wrote:
>> You can try
>> 	os.execute("mkdir xxx")
>> but it'll be hard to get reliable status back.
> Hm, I'm surprised to find that this even works on Windows (at least on
> XP); I could check whether the directory exists in the next step.  Any
> idea about older Windowsen?

mkdir has been a system command since MSDOS 2.0 or so (1.0 not having
directories IIRC).

David Kastrup