Forum LiberKey


https://www.liberkey.com/forum/

[Solved] Execute windows variables from liberkey

https://www.liberkey.com/forum/viewtopic.php?f=29&t=3361

Page 1 sur 1

[Solved] Execute windows variables from liberkey

MessagePosté: 28 Février 2010, 16:57
de gsiliceo
Hello i'd like to add to my liberkey list icons to executes windows variables such as
services.msc
%APPDATA%
Those work when run from the built-in windows "run". But liberkey sends an error. I could maybe use another program to launch those commands such as cmd.exe or something like that.
I just want a shortcut in my liberkey.
Thanks in advance

Re: Execute windows variables from liberkey

MessagePosté: 28 Février 2010, 17:02
de Dji
You're right, Asuite does not support such program launch.

Best for you is to create a .bat file in you MyApps folder and to put in your command line.

Then, put the shortcut to the .bat file in your liberkey menu (using relative path "..\..\MyApps\<my shortcut>.bat")

Re: Execute windows variables from liberkey

MessagePosté: 28 Février 2010, 17:07
de gsiliceo
Nevermind found a way to do it.
Using cmd.exe
C:\Windows\System32\cmd.exe
Use as parameters
/C commandyouwant.exe

It will execute the command line and then the command you gave it, when you close the program/file it will automatically close the command line.

Mark as solved please

Re: [Solved] Execute windows variables from liberkey

MessagePosté: 28 Février 2010, 18:13
de Dji
You're right, that also works ;-)