UoKit.com Форумы > Кликер > UO Pilot
neves
I am wondering if its possible, using the exec() function to run cmd in chosen from me directory.
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.
Вверх
cirus
Код
--lua
exec([[cmd.exe /K cd /d "C:\Windows\Cursors"]])

Вверх
neves
Спасибо!
Цитата(cirus @ 21.3.2020, 1:08)

Код
--lua
exec([[cmd.exe /K cd /d "C:\Windows\Cursors"]])



Вверх
Invision Power Board © 2001-2024 Invision Power Services, Inc.
Version for Pocket PC © 2006-2024, IPBest Studio.