Solved

Adding on to the "path" user envrionment variable with a login script?

Posted on 2004-03-31
6
156 Views
Last Modified: 2010-03-18
First of all let me give you a background, I may be going about this problem the wrong way, so if you have any other ideas let me know. Our company is in the middle of a Netware to Win2K/Win2003 migration. One of our applications currently requires a netware search path to a folder on the network. The way that works is; Netware somehow appends those paths onto the user environment variable "path" . So I am tring to do the same thing with a login script/batch file.

So I assume I will use the set command kind of like this:
net use K: \\Servername\Sharename /yes
Set path=%path%;K:\folder

But I probably need some logic in the script to see if the path has already been added so it doesn't just keep apending on everytime the login script runs. Any Ideas?

0
Comment
Question by:Matt_Fairbourn
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
6 Comments
 
LVL 57

Expert Comment

by:Pete Long
ID: 10725710
0
 

Author Comment

by:Matt_Fairbourn
ID: 10725808
Right, I know I can go manually add it  and make it static, but that would require that we have to go from machine to machine and touch every machine, and do that again if the something changed. I would really like a way to add it with a login script.
0
 
LVL 57

Accepted Solution

by:
Pete Long earned 125 total points
ID: 10725908
0

Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Downtime reduced, data recovered by utilizing an Experts Exchange Business Account Challenge The United States Marine Corps employs more than 200,000 active-duty Marines with operations in four continents, all requiring complex networking system…
An article on effective troubleshooting
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

749 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question