View Single Post
Re: Perl script problem
Old
  (#4)
botmeister
Ex-Council Member
 
botmeister's Avatar
 
Status: Offline
Posts: 1,090
Join Date: Nov 2003
Location: Canada
Default Re: Perl script problem - 02-10-2005

Just a note, you have to reverse the "/" to a forward slash. I don't know how to get this forum to accept the forward slash so I reversed them without telling you (oops).

What I did to run a perl script for psycostats was to create a .BAT or .CMD file that looked like this (reverse slashes).

cd C:/psychostats
start C:/Perl/bin/perl stats.pl

In order for the perl script to run, I had to CD (change directory) to the folder that had the perl script in it or it would not work.

So far, I have not found a way to get the server loader to run a bat/cmd file, so you'll have to find a way to get perl to accept commnd line arguments in a way where the scrip will run properly.


Maker of the (mEAn) Bot.Admin Manager

"In theory, there is no difference between theory and practice. But, in practice, there is." - Jan L.A. van de Snepscheut
  
Reply With Quote