i dont think i got this right....sorry...im new to this..CLS
here is just a small amount of what im putting in..??




DIM $CommonOF
DIM $CommonSH
DIM $dev

$CommonOF = "True"
$CommonSH = "False"

If Left(Join(Split(@IPADDRESS0, " "),""),6) = "10.0.5"
copy "F:\IT\Shortcuts\MSDS-Mount Airy.lnk" "C:\documents and settings\all users\desktop"
Else
copy "F:\IT\Shortcuts\MSDS-Fort Wayne.lnk" "C:\documents and settings\all users\desktop"
Endif

IF @USERID = "bob" or @USERID="bob2" or @USERID="bob3" or @USERID="bob4" or @USERID="bob5" or @USERID="bob6"
USE f: /DELETE
USE i: /DELETE
USE n: /DELETE
USE o: /DELETE
USE p: /DELETE
USE q: /DELETE
USE r: /DELETE
USE s: /DELETE
USE t: /DELETE
USE u: /DELETE
USE v: /DELETE


Edited by tonymorin (2011-09-16 04:38 PM)