[Date Prev][Date Next][Thread Prev][Thread Next]
- 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 <firstname.lastname@example.org> writes:
> Luiz Henrique de Figueiredo <email@example.com> 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