kevinsad0708 Posted April 26, 2015 Group: Members Topic Count: 5 Topics Per Day: 0.00 Content Count: 6 Reputation: 0 Joined: 11/02/12 Last Seen: May 23, 2016 Share Posted April 26, 2015 How can i make this ? please help me i dont know how..? i think this is code.. please give me exact code Thanks guys Quote Link to comment Share on other sites More sharing options...
Lighta Posted May 16, 2015 Group: Members Topic Count: 16 Topics Per Day: 0.00 Content Count: 737 Reputation: 216 Joined: 11/29/11 Last Seen: December 20, 2020 Share Posted May 16, 2015 stop_server => 'alias ra_stop='/path/to/ra/athena-start stop' start_server => 'alias ra_start='/path/to/ra/athena-start start' restart_server => 'alias ra_restart='/path/to/ra/athena-start restart' update_server => 'alias ra_upd='/path/to/ra/tools/update.pl' Once all alias are define you could simply create some desktop file, to match the alias command. Or simply create some desktop file with the full command like I gave you. Both should work fine. Quote Link to comment Share on other sites More sharing options...
Kekwa Posted May 27, 2015 Group: Members Topic Count: 0 Topics Per Day: 0 Content Count: 5 Reputation: 0 Joined: 12/05/11 Last Seen: June 27, 2016 Share Posted May 27, 2015 (edited) If that shortcut is for windows, I use plink.exe + .bat combo to create something like that. (The code below is only for server that use username and password for authentication) echo yes | plink -agent YOUR_USER_NAME@SERVER_IP -pw YOUR_PASSWORD "/path/to/ra/athena-start restart" Save as something.bat. Put togather in a folder with plink.exe file. It should be working now. You can always convert bat files to exe. You can also warp togather plink + command.exe under 1 exe with custom message box. This is the easiest way to me other than writing c++ code. Edited May 27, 2015 by Kekwa Quote Link to comment Share on other sites More sharing options...
Question
kevinsad0708
How can i make this ? please help me i dont know how..? i think this is code.. please give me exact code Thanks guys
Link to comment
Share on other sites
2 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.