Discussion Locked

Batch File

0 helpful
5 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Hello,

Can someone some suggest me how canI create a batch file that would updateo antivirus software in my client machines as they logon the network. I tried this, but nol luck.

:: Set files to get from
:: Antivirus update below
echo get c:\avg6226fu

echo quit>> c:\avg6226fu

endlocal
:eof

Thank you

5 replies

by acattr

I don't know what antivirus you are using but to successfully copy a file from the server to a workstation do this. Copy the avg6226fu file to the script folder.

batch file should go like this:
::copy file
net use z: \\pdcserver\netlogon
copy z:\avg6226fu c:\%pathforAntivirus /y
net use z: /delete
::eof

For a domain, I recommend using Norton Antivirus Corporate Edition 8.0.

Features:
It allows you to push the installation to nt/xp/2000 machines.
Autoinstall to 98/nt/xp/2000 over logon scripts.
All machines automatically ask the server for updates every hour.
Server updates everyday.
Server controls ALL user antivirus settings.
Can schedule full network scans from the server.

by k_grg

I need to run update, not copy.
Sorry if I confused you.
The type of Antivirus software that I am running is AVG.

This discussion is closed to new replies.