When I execute this code:
Код
--lua
exec([["cmd"]])
it opens cmd in the folder where the Pilot is located.
I tried to run cmd with this command -> cd /d d:\GameFolder.
Код
--lua
exec([["cmd cd /d d:\GameFolder"]])
Nothing happend.
--lua
exec([["cmd"]])
--lua
exec([["cmd cd /d d:\GameFolder"]])
--lua
exec([[cmd.exe /K cd /d "C:\Windows\Cursors"]])