#119918 - 2004-05-20 11:51 PM
GRC.DAT Norton
|
Butter
Lurker
Registered: 2004-05-20
Posts: 1
|
Very new to Kix and wondering if someone could look over this simple script to see if I am heading in the right direction. Some of the variables are pre-determined by our scripting solution (ScriptLogic)
;**** Created with KiXscripts Editor | http://KiXscripts.com ****
;**** Last Modified on 5/20/2004 at 10:43:39 AM by pbarcla ****
;
Dim $GRCDataFile, $XPPath, $2000Path, $NTPath, $W95Path
;
;
$XPPath='c:\Documents and Settings\All Users\Application Data\Symantec\Norton AntiVirus Corporate Edition\7.5'
$2000Path='c:\Documents and Settings\All Users\Application Data\Symantec\Norton AntiVirus Corporate Edition\7.5'
$NTPath='c:\WinNT\Profiles\All Users\Application Data\Symantec\Norton AntiVirus Corporate Edition\7.5'
$W95Path='c:\Program Files\Symantec_Client_Security\Symantec AntiVirus'
;
;
$GRCDataFile='\\%logonserver%\vphome\GRC.DAT'
; Location of GRC.DAT file for Norton
; %logonserver% = Domain Controller
;
;
; **************************************************************************************
; * Norton Script for pushing GRC.DAT files *
; ******************* Do not modify code below this line *******************************
;
;
If @INWIN=1 ; NT-family clients only
If $ConnType='LAN' AND $NTtype<>'Server'
Select
Case $OS='XP'
Copy $GRCDataFile $XPPath /y /h
Case $OS='2000'
Copy $GRCDataFile $2000Path /y /h
Case $OS='NT'
Copy $GRCDataFile $NTPath /y /h
EndSelect
EndIf
EndIf
If $OS='95'
Copy $GRCDataFile $W95Path /y /h
EndIf
Return
Thanks for your help...
Paul
|
|
Top
|
|
|
|
Moderator: Glenn Barnas, NTDOC, Arend_, Jochen, Radimus, Allen, ShaneEP, Ruud van Velsen, Mart
|
0 registered
and 530 anonymous users online.
|
|
|