Calling a batch file from within LUA
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Calling a batch file from within LUA
- From: brian@...
- Date: 2003年5月18日 07:56:27 -0500
Have been reading through the Docs and the mailing list archives but could not find a satisfactory answer to my question.
I need to call a batch file from within a LUA script.
The scripts are used by an app built in VC++ .
>From the documentation i think it could be done this way
execute("batch c:\folder1 c:\folder2")
batch being the name of the batch file to execute and c:\folder1 & c:\folder2 being the two arguments passed.
Is this the correct/best way to do this?
Thanks for the advice,
Brian