View Single Post
  #3 (permalink)  
Old August 8th, 2003, 06:44 AM
Quasimodo Quasimodo is offline
Registered User
 
Join Date: Aug 2003
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks!
It did not really help me, though. My fault, I really stink when it comes to scripting...

I tried to run this through a script, but it didnt work:

Option Explicit
on error resume next
Dim Net, oNetwork, wshShell, EnvVar, sUserName, IPConfigSet, ObjIfUser, IPConfig, iLoop, ObjGroup, ObjUser
Dim sHomeServer, sProgServer, sInstServer
set oNetwork = CreateObject("Wscript.Network")
Set net = CreateObject("WScript.Network")
Set wshShell = CreateObject("Wscript.Shell")
Set EnvVar = wshShell.Environment("Process")
sUserName=EnvVar.Item("username")

If IsMember("LFAD",susername,"G-08-users")=True Then
 wshshell.run("cmd /c H:\FavoritesOnServer.reg")
End If


Reply With Quote