I am wondering if its possible, using the exec() function to run cmd in chosen from me directory.
When I execute this code:
Код
it opens cmd in the folder where the Pilot is located.
(IMG:
https://i.ibb.co/QjCvdLF/result.png)
I tried to run cmd with this command ->
cd /d d:\GameFolder.
Код
--lua
exec([["cmd cd /d d:\GameFolder"]])
Nothing happend.