Tazz Posted November 21, 2009 Share Posted November 21, 2009 Hey, Is there anyway i can run CMD Commands as Services for example perl stats.pl "C:\GameServers\CoD\main\xpro-dm.log" "C:\GameServers\CoD\main\ban.txt" 213.163.66.139 28961 rconpassword database root rootpassword NO "C:\GameServers\CoD\main\dedicated.cfg" Link to comment Share on other sites More sharing options...
Guest louise Posted November 21, 2009 Share Posted November 21, 2009 Utilize the Install/Uninstall Scripts Link to comment Share on other sites More sharing options...
Tazz Posted November 21, 2009 Author Share Posted November 21, 2009 i need Windows Command Prompt to work the stats.pl it can't be done with Install/Unistall Scripts Link to comment Share on other sites More sharing options...
Tazz Posted November 21, 2009 Author Share Posted November 21, 2009 Is there no way i can do it via FireDaemon or something? Link to comment Share on other sites More sharing options...
DougK94 Posted November 21, 2009 Share Posted November 21, 2009 You can use windows scheduled tasks to run a bat file. Link to comment Share on other sites More sharing options...
Tazz Posted November 21, 2009 Author Share Posted November 21, 2009 You can use windows scheduled tasks to run a bat file. its not a bat file its a Command Line for In Game Stats but i need to run a Windows Command Prompt but when i restart the dedicated server i have to type the long command in again thats why i want to try and run it as a service so its keeps running without me typing in the commands Link to comment Share on other sites More sharing options...
Steven Crothers Posted November 21, 2009 Share Posted November 21, 2009 What your describing can be put into a bat file. Than ran as an application. Link to comment Share on other sites More sharing options...
Tazz Posted November 21, 2009 Author Share Posted November 21, 2009 kk, 2 secs i am going to try and convert it to .bat Link to comment Share on other sites More sharing options...
Steven Crothers Posted November 21, 2009 Share Posted November 21, 2009 You cannot convert it to an exe... nobody here said that. "What you are describing can be put into a *BAT* file" Please read what Doug and I said more carefully. Link to comment Share on other sites More sharing options...
Tazz Posted November 21, 2009 Author Share Posted November 21, 2009 You cannot convert it to an exe... nobody here said that. "What you are describing can be put into a *BAT* file" Please read what Doug and I said more carefully. got it working thanks for your help Link to comment Share on other sites More sharing options...
Steven Crothers Posted November 21, 2009 Share Posted November 21, 2009 Glad you got it working. Next time read what everyone says very carefully, you would have gotten it earlier Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.