kevinsad0708 Posted April 26, 2015 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
Lighta Posted May 16, 2015 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
Kekwa Posted May 27, 2015 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
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
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.