[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Creating a directory in a lua script
- From: David Kastrup <dak@...>
- Date: Mon, 25 Jun 2007 15:43:57 +0200
Frank Küster <frank@kuesterei.ch> writes:
> Luiz Henrique de Figueiredo <lhf@tecgraf.puc-rio.br> 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