40 pts.
0
Q:
how to set our own path to xp client in a domain controller of win2003 server
iam using win2003 as domain controller with 100 xp clients, now i want to use turboc2 in xp and want to save files in server for this i need to give turboc2 in path of every client, how can i set path at a time in server to run on all xp clients when it connected to domain?
ASKED: Nov 20 2008  5:25 AM GMT
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
0
29340 pts.
0
A:
 RATE THIS ANSWER
0
Click to Vote:
  •   0
  •  0
  • AddThis Social Bookmark Button
You can do this by using VBScript in a logonscript; hereafter an example:

Dim CurrPath
Dim NewPath
Set WshShell = CreateObject("WScript.Shell")
Set WshSystemEnv = WshShell.Environment("SYSTEM")
CurrPath = WshSystemEnv("PATH")
NewPath = CurrPath & ";c:\mydir;" ' set the ";c:\mydir;" to your own needs
WshSystemEnv(”PATH”) = NewPath
Last Answered: Nov 29 2008  1:59 AM GMT by Carlosdl   29340 pts.
Latest Contributors: Alessandro.panzetta   9615 pts.
0
0
Discuss This Answer:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _



_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

Mshen   23525 pts.  |   Nov 21 2008  11:36PM GMT

I can’t seem to grasp what you are trying to do. Do you want to create a mapped drive to a share on the server when the users login?

 

Bluesoft   40 pts.  |   Nov 22 2008  10:33AM GMT

Thanks for ur reply
i want to use turboc2 locally(client) in cmd mode to save in mapdrive in server, for this i need to create tc local path right? so i want to do this in all client systems through DC win2003, any possibility there??

 

Carlosdl   29340 pts.  |   Nov 24 2008  3:23PM GMT

How do you do it manually (full details please) ?

 

Bluesoft   40 pts.  |   Nov 25 2008  7:37AM GMT

set path=c:windows;c:turboc2

 

IT Knowledge Exchange Community Update for 11/25/08 - ITKE Community Blog   0 pts.  |   Nov 25 2008  3:36PM GMT

[...] How many of you are considering FCoE as a transition from Fibre Channel to Ethernet? >> How to set our own path to XP client in a domain controller of Windows Server 2003 >> Need a checklist to audit a typical SAN to record all the components >> How do I [...]

 

Carlosdl   29340 pts.  |   Nov 25 2008  4:17PM GMT

Alessandro, that script does not actually set the new path.
I think this is missing:

WshSystemEnv(”PATH”) = NewPath

I also think this will cause “;c:mydir;” to be added each time the user logs on (i.e. … ;c:mydir;c:mydir;c:mydir;c:mydir)
How would you deal with this ? maybe some logoff script ?

—————————-

Bluesoft, are you going to put your program executables in that path, so users can run them from there ? , or what you need to do is make your programs save their data to that path ?

 
0