Solved

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

Posted on 2004-03-31
6
154 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 125 total points
ID: 10725908
0

Featured Post

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Domain Share problems 5 53
IT usage Policies for a new staff joining the organisation. 4 105
Cannot Change Local DNS 9 42
Freeproxy running on Server 2012 R2 2 44
Nslookup is a command line driven utility supplied as part of most Windows operating systems that can reveal information related to domain names and the Internet Protocol (IP) addresses associated with them. In simple terms, it is a tool that can …
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…
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

813 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now