Driveb
  Home FAQ Contact Sign in
 
Advanced search
MATCHING GROUPS



more...
POPULAR GROUPS

more...

found 5 articles for 0.302 sec
Got it..im an idiot!!!!! This works just fine!! Set objNetwork = Wscript.CreateObject("Wscript.Network") Set ADSysInfo = CreateObject("ADSystemInfo") Set objUser = GetObject("LDAP://" & ADSysInfo.UserName &"") Set WshShell = WScript.CreateObject("WScript.Shell") wshshell.run "\\domain\netlogon\region\bat.bat" Now I just have to create the correct path from info pulled in the user account     

Group: microsoft.public.windows.server.scripting · Group Profile · Search for Driveb in microsoft.public.windows.server.scripting
Author: TJCooper1972
Date: May 15, 2008 11:58

I dont know how. The kixtart script is launched via a batch file in their profile (login script field). I cannot seem to recreate that process. I dont know how to launch that batch file from a script. I tried it and it didnt seem to work. How do I launch a bat file that resides in the netlogon folder from a vbs script? Below is the .bat file that pulls the map drives from the previous
Show full article (2.77Kb) · Show article thread
Wait a minute, the script shown is a kixtart script. Instead of writing a script in another language, whether batch or vbscript, why not just get kixtart to run the script? /Al "Pegasus (MVP)" <I.can@fly.com.oz> wrote in message news:%%23$cgODRtIHA.2292@TK2MSFTNGP03.phx.gbl... > > "TJCooper1972" <TJCooper1972@discussions.microsoft.com> wrote in message > news:349C4FE0-1183-4A8D-A02F     

Group: microsoft.public.windows.server.scripting · Group Profile · Search for Driveb in microsoft.public.windows.server.scripting
Author: TJCooper1972
Date: May 15, 2008 11:51

"TJCooper1972" <TJCooper1972@discussions.microsoft.com> wrote in message news:349C4FE0-1183-4A8D-A02F-CD6F4D9E8258@microsoft.com... I have to figure out how to parse the file correctly. I dont do a lot of scripting, so everything is slow going for me. The file has a number of mapped drives and commented lines. I can ignore commented lines and focus on lines that start with a $. This
Show full article (2.73Kb) · Show article thread
I have to figure out how to parse the file correctly. I dont do a lot of scripting, so everything is slow going for me. The file has a number of mapped drives and commented lines. I can ignore commented lines and focus on lines that start with a $. This is what I have to parse: ---------- ; ; Windows NT and Windows For Workgroups Logon Script ; $NameLine = "my region"     

Group: microsoft.public.windows.server.scripting · Group Profile · Search for Driveb in microsoft.public.windows.server.scripting
Author: Al Dunbar
Date: May 13, 2008 21:56

Show full article (2.13Kb) · Show article thread
    

Group: microsoft.public.windows.server.scripting · Group Profile · Search for Driveb in microsoft.public.windows.server.scripting
Author: Pegasus (MVP)
Date: May 13, 2008 08:48

Show full article (1.76Kb) · Show article thread
    

Group: microsoft.public.windows.server.scripting · Group Profile · Search for Driveb in microsoft.public.windows.server.scripting
Author: TJCooper1972
Date: May 13, 2008 07:33

Show full article (1.49Kb) · Show article thread