[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: porting to Windows
- From: Valerio Schiavoni <valerio.schiavoni@...>
- Date: Thu, 15 Jul 2010 10:46:32 +0200
On Thu, Jul 15, 2010 at 10:25 AM, steve donovan
<steve.j.donovan@gmail.com> wrote:
> D:\>lua -e "print(package.config)"
> \
> ;
> ?
> !
> -
>
> i.e. package.config:sub(1,1) is what you want.
Nice, I did't know this package.config table. It's not even documented
on the reference manual.
>> And is it possible to delete files without using the lfs module?
> os.remove()
To delete a dir with files/directory inside, I will have to implement it my own?
It involves scanning files in a directory..and this solution
http://lua-users.org/wiki/DirTreeIterator involves "lfs", which I'd
like to avoid.