I do. I have written a little batch file that I call "svc.bat" that takes
two arguments. The first is an action, and the second is a string. The
string is matched in the listing of services. Excellent for a development
machine, that doesn't need all the stuff running at all times.
I use:
svc start cold (to start all the CF services)
svc stop cold (to stop all the CF services)
svc restart cold (etc)
Then it is also possible to just restart the application server by using a
part of the service name. In a similar way, I use that command for others.
The batchfiles requires:
grep.exe
sed.exe
xargs_a.exe
lssvc.exe
The above files are, on my machine, taken from various (free) distributions,
so check that it works with your version of the above files (if you have
them).
-------------------------------------------------------------
Hugo Ahlenius E-Mail: [EMAIL PROTECTED]
Project Officer Phone: +46 8 7410451
UNEP GRID-Arendal Fax: +46 733 403285
Stockholm Office Mobile: +46 733 467111
WWW: http://www.grida.no
-------------------------------------------------------------
| -----Original Message-----
| From: Tangorre, Michael [mailto:[EMAIL PROTECTED]]
| Sent: Wednesday, July 24, 2002 17:01
| To: CF-Talk
| Subject: Cf and Batch file
|
|
| Does anyone have a batch file to turn all the CF services on
| and off? I would like to boot my machine up and run the batch
| file if I want the Cf services running. Also, I would like
| add a line for ISS as well.. any help writing this would be
| appreciated.
|
| Thanks,
|
| Michael Tangorre
|
| MillenniuM Information Systems
| 1101 Wilson Blvd, Suite 1200
| Arlington, Virginia 22209
| (703) 341-1438
|
| ================================
| This email contains MillenniuM Information
| Systems, LLC. privileged information.
| ================================
|
______________________________________________________________________
Signup for the Fusion Authority news alert and keep up with the latest news in
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists