Solved

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

Posted on 2004-03-31
6
153 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
Comment Utility
0
 

Author Comment

by:Matt_Fairbourn
Comment Utility
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
Comment Utility
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

FIPS stands for the Federal Information Processing Standardisation and FIPS 140-2 is a collection of standards that are generically associated with hardware and software cryptography. In most cases, people can refer to this as the method of encrypti…
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 …
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

728 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

12 Experts available now in Live!

Get 1:1 Help Now