[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now


Batch file

Posted on 2009-02-11
Medium Priority
Last Modified: 2013-12-17
I need a batch file that will run from a cmd prompt and change the directory to c:\symantec\Symantec EndPoint Protection and stop the smc service and then copy the "Sylink.xml" file in that directory Then start the smc service.
Question by:rolani3441
1 Comment

Accepted Solution

reece400 earned 2000 total points
ID: 23613341
This must be run with administrator priveleges (under vista, with elevated privelges as well.)
Where X:\ is the location you would like the file copied to.

@echo off
cd "\symantec\Symantec Endpoint Protection"
net stop "smcservice"
copy sylink.xml X:\sylink.xml
net start "smcservice"

Open in new window


Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Have you ever run into that annoying problem where the computer won't boot?  Wouldn't it be great if you had a tool that would make that disk boot again?  I have found one tool that works more often than not ...
Tech giants such as Amazon and Google have sold Alexa and Echo to such an extent that they have become household names. And soon they are expected to be used by commoners in their homes, ordering takeout, picking out a song, answering trivia questio…
The viewer will learn how to successfully download and install the SARDU utility on Windows 7, without downloading adware.
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…

872 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question