Discussion Locked

Edit a path name with logon script.

0 helpful
4 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
I need to set a path on a networked program and would like to do iut via the batch file. The program in question needs to see the server (farscape virtual cd) and we have had a recent server upgrade so all the path names are different. could someonehelp me out with proper syntax? I can't seem to make it work....

4 replies

by winterfrost

"Set a path on a networked program" is a little too vague. Are you trying to update the PATH environment variable? Trying to update shortcuts? Registry entries? An entire application installation?

Where is the "path" that you are trying to update?

by axxis

I have a program (virtual cd) it has 2 parts ... server and client ... the client part is on allllll the networked computers .... and the server part is on the server... the client part needs to know where the serveer bit is and does this via the registry on the client machine... i need to change the registry entry aqnd would like to do it via a logon script. As i am a dunce and still learning all this stuff i need help with syntax etc...

by winterfrost

If you're changing a path in the registry, do these steps.

- Use regedit to manually change the registry on one computer to what you want it to be and test to make sure it works.
- When you are satisfied that it works, right-click on the registry key/branch containing the information you changed and choose "Export Registry file..." Move the resulting .reg file into your login script directory.
- Make a test login script and enter "regedit /s .reg" to import those settings into the registry.
- Assign the test login script to some users and test it out on some unmodified machines.
- When you are satisfied it is working, put it into the product login script.

This discussion is closed to new replies.