Solved

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

Posted on 2004-03-31
6
158 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

Optimum High-Definition Video Viewing and Control

The ATEN VM0404HA 4x4 4K HDMI Matrix Switch supports 4K resolutions of UHD (3840 x 2160) and DCI (4096 x 2160) with refresh rates of 30 Hz (4:4:4) and 60 Hz (4:2:0). It is ideal for applications where the routing of 4K digital signals is required.

Question has a verified solution.

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

A brief overview to explain gateways, default gateways and static routes OR NO - you CANNOT have two default gateways on the same server, PC or other Windows-based network device. In simple terms a gateway is formed when a computer such as a serv…
A common practice in small networks is making file sharing easy which works extremely well when intra-network security is not an issue. In essence, everyone, that is "Everyone", is given access to all of the shared files - often the entire C: drive …
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…
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…
Suggested Courses

632 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