@echo off
If "%OS%" == "Windows_NT" goto skip
If NOT "%WINBOOTDIR%" == " " goto Win95
echo Anti virus software is running by using Win3x syntax
net use drive_letter\<updateserver>\anti virus software$
drive_letter:anti_virus_software.exe
net use drive_letter: /d
goto skip
:Win95
REM Remark
REM Run anti virus software by using Win95 syntax
REM
echo Running Win95 syntax
\\Server_Name\$_Shared_Directory\anti_virus_software.exe
:skip
echo Anti virus software updated.