Something like: --script starts here-- @echo off cls net stop JFWService pause --script ends here-- Saving this as a .bat file in notepad will work, although make sure that you save it as filename.bat as apposed to filename.bat.txt. If you want the script to exit automaticly, just deleet the pause line. Hth. On 25/06/2010, Octavian Rasnita <orasnita@gmail.com> wrote:
The command is:
net stop JFWService
Octavian
----- Original Message ----- From: "Frank Ventura" <Frank.Ventura@littlebreezes.com> To: "Blind sysadmins list" <blind-sysadmins@lists.hodgsonfamily.org> Sent: Friday, June 25, 2010 11:43 PM Subject: [Blind-sysadmins] A script to stop JFW
Hi all, I need a script to shut down the JFW service. We have a computer that runs JFW 10 as a startup service. For one user we need a script that they can run automatically to kill JFW. I have been told that one can be created using the NET STOP command. Not being a scripter I don't know the syntax. Can anyone create me a script to shut down JFW running as a service. I would greatly appreciate it if anyone could attach it to me at frank.ventura@littlebreezes.com Thanks Frank
_______________________________________________ Blind-sysadmins mailing list Blind-sysadmins@lists.hodgsonfamily.org http://lists.hodgsonfamily.org/mailman/listinfo/blind-sysadmins
_______________________________________________ Blind-sysadmins mailing list Blind-sysadmins@lists.hodgsonfamily.org http://lists.hodgsonfamily.org/mailman/listinfo/blind-sysadmins