Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2004-03-31
6
Medium Priority
?
163 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
  • 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 500 total points
ID: 10725908
0

Featured Post

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

Question has a verified solution.

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

This article is in response to a question (http://www.experts-exchange.com/Networking/Network_Management/Network_Analysis/Q_28230497.html) here at Experts Exchange. The Original Poster (OP) requires a utility that will accept a list of IP addresses …
I'm a big fan of Windows' offline folder caching and have used it on my laptops for over a decade.  One thing I don't like about it, however, is how difficult Microsoft has made it for the cache to be moved out of the Windows folder.  Here's how to …
This video shows how to quickly and easily deploy an email signature for all users in Office 365 and prevent it from being added to replies and forwards. (the resulting signature is applied on the server level in Exchange Online) The email signat…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…

885 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