[Solved] Execute windows variables from liberkey

A problem using LiberKey ?
4 messages • Page 1 sur 1

[Solved] Execute windows variables from liberkey

Messagede gsiliceo » 28 Février 2010, 16:57

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
gsiliceo
Fresh Boarder
Fresh Boarder
 
Messages: 14
Inscription: 06 Février 2010, 00:41

Re: Execute windows variables from liberkey

Messagede Dji » 28 Février 2010, 17:02

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")
"Si boire des coups, aller au concert ou au match, ça devient un combat
Alors tremblez, terroristes !
Parce qu'on est surentraînés !"
@glecalot
Avatar de l’utilisateur
Dji
Administrator
Administrator
 
Messages: 3724
Inscription: 28 Novembre 2007, 09:57
Localisation: Quelque part entre les ombres

Re: Execute windows variables from liberkey

Messagede gsiliceo » 28 Février 2010, 17:07

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
gsiliceo
Fresh Boarder
Fresh Boarder
 
Messages: 14
Inscription: 06 Février 2010, 00:41

Re: [Solved] Execute windows variables from liberkey

Messagede Dji » 28 Février 2010, 18:13

You're right, that also works ;-)
"Si boire des coups, aller au concert ou au match, ça devient un combat
Alors tremblez, terroristes !
Parce qu'on est surentraînés !"
@glecalot
Avatar de l’utilisateur
Dji
Administrator
Administrator
 
Messages: 3724
Inscription: 28 Novembre 2007, 09:57
Localisation: Quelque part entre les ombres


4 messages • Page 1 sur 1

Retourner vers Support

Qui est en ligne

Utilisateurs parcourant ce forum: Aucun utilisateur enregistré et 54 invités