how to set our own path to xp client in a domain controller of win2003 server

265 pts.
Tags:
Domain Controller
TurboC2
Windows Server 2003
Windows Server 2003 Domain Controller
Windows XP
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?

Answer Wiki

Thanks. We'll let you know when a new response is added.

You can do this by using VBScript in a logonscript; hereafter an example:

<pre>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
<b>WshSystemEnv(”PATH”) = NewPath</b>
</pre>

Discuss This Question: 6  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • mshen
    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?
    27,385 pointsBadges:
    report
  • Bluesoft
    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??
    265 pointsBadges:
    report
  • carlosdl
    How do you do it manually (full details please) ?
    68,405 pointsBadges:
    report
  • Bluesoft
    set path=c:windows;c:turboc2
    265 pointsBadges:
    report
  • Bluesoft
    [...] 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 [...]
    0 pointsBadges:
    report
  • carlosdl
    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 ?
    68,405 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following