Computing.Net > Forums > Windows 2000 > creating a batch file

Computing.Net: Over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to sign up now, it's free!

creating a batch file

Reply to Message Icon

Original Message
Name: mike
Date: May 12, 2003 at 07:42:59 Pacific
Subject: creating a batch file
OS: Windows 2000 Server
CPU/Ram: 1000/1000
Comment:

can someone please give me exact steps on how to create a batch file to stop Norton Antivirus for Exchange, and then one to restart the services. I'm needing to stop and restart the services because it's failing my back up job every night.


Report Offensive Message For Removal


Response Number 1
Name: Andy Supernova
Date: May 12, 2003 at 08:18:34 Pacific
Reply: (edit)

The command you should issue to start or stop a service is the following:

net start|stop "full service name as seen in Services"

Hope this helps!

Andrés


Report Offensive Follow Up For Removal

Response Number 2
Name: jh
Date: May 12, 2003 at 08:46:24 Pacific
Reply: (edit)

by the way, if you are using exchange 2000, there is certain folders NAV should not scan or it can corrupt exchange. might want to check with Norton.

http://service1.symantec.com/SUPPORT/ent-security.nsf/9d94c8571a91ba4788256bf3007f62b5/8b773850a36516fe88256c2f007e436d?OpenDocument&prod=Symantec%20AntiVirus%20Corporate%20Edition&ver=8.x&src=ent&pcode=sav_ce&dtype=corp&svy=&prev=&miniver=sav_8_ce


Report Offensive Follow Up For Removal

Response Number 3
Name: mike
Date: May 12, 2003 at 13:56:48 Pacific
Reply: (edit)

let me try this one again - What are my EXACT steps in creating a batch file (never done it before). I need one that will stop, and then one that will start the services for NAV for Exchange on my W2K Advanced Server. THANKS!!


Report Offensive Follow Up For Removal

Response Number 4
Name: Andy Supernova
Date: May 13, 2003 at 07:58:37 Pacific
Reply: (edit)

Load Notepad, write the following:

net stop "service name"

And save the file as stopnav.bat. Repeat the same procedure for a file named startnav.bat which contains:

net start "service name"

Andrés


Report Offensive Follow Up For Removal







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Windows 2000 Forum Home








Do you have your own blog?

Yes
No
I did before
I will soon


View Results

Poll Finishes In 5 Days.
Discuss in The Lounge
Poll History




Data Recovery Software