|
How would you set the script to run only on XP pc's for example?? The script I am testing is the one that was posted earlier
;************************************************************************* ; Script Name: LogonScript ; Author: Wim Rotty ; Date: 19/03/2008 ; Description: Untested example to map drives!!! ;*************************************************************************
;Script Options If Not @LOGONMODE Break On Else Break Off EndIf Dim $RC $RC = SetOption("Explicit", "On") $RC = SetOption("NoMacrosInStrings", "On") $RC = SetOption("NoVarsInStrings", "On") If @SCRIPTEXE = "KIX32.EXE" $RC = SetOption("WrapAtEOL", "On") EndIf
;Code
;Clean up existing mappings if any Use * /Delete /Persistent
;Map Public Use "P:" "\\ServerName\PublicShare"
;Map Project Shares" Use "Q:" "\\Server\Projects"
;Map Department Shares Select Case InGroup("CENTRAL\G_TE-IT") Use "G:" "\\tes2k3fp1\it$" EndSelect
|