WMI is built in since Windows 2000, and is available for download for
earlier versions. run.bat seems to cater even to Win9x, which I doubt anyone
has tested ever.

I'm pretty sure we can set ownership and limit permissions using a short vbs
script. I'll look into it.

Israel


On Wed, Nov 3, 2010 at 10:24 AM, Eric Charles <e...@apache.org> wrote:

> Hi Israel,
>
> I don't know wmi nor cscript. Is it supported on all windows ?
> Do you think it can implement what is described on
> http://download.oracle.com/javase/1.5.0/docs/guide/management/security-windows.html?
>
> If you have time to contribute something, we will be happy to integrate in
> run.bat.
> To fix it, download james 3M1 (
> http://james.apache.org/download.cgi#Apache_James_Server), unzip, cd bin,
> ./run.bat and you will get the exception.
> You could then modify the run.bat to make it work.
>
> Tks in advance,
>
> Eric
>
>
>
> On 3/11/2010 07:31, Israel Tsadok wrote:
>
>> I'm not sure I entirely understand the situation, so I apologize if I'm
>> making a silly suggestion.
>> The basic problem is some file not having the right permissions under
>> Windows. Have you considered just changing the file permissions in
>> run.bat?
>> This can probably be done using WMI and cscript.
>>
>> Israel
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org
> For additional commands, e-mail: server-dev-h...@james.apache.org
>
>

Reply via email to