HighTechTalks DotNet Forums  

Adding TARGETDIR to System Path

Visual Studio.net (Setup) microsoft.public.vsnet.setup


Discuss Adding TARGETDIR to System Path in the Visual Studio.net (Setup) forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
JahMic
 
Posts: n/a

Default Adding TARGETDIR to System Path - 12-06-2006 , 07:08 AM






I have a few command line utilities to install. These need to be run
from multiple directories where they are not present.

So, I want to add my folder to the end of system path. These seems to
be easy enough to find in the registry, either:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Contro l\Session
Manager\Environment\Path
or
HKEY_CURRENT_USER\Environment\Path

depending on whether the user wants to install for whole machine.

But it's easy to replace, but how to I get the current path value and
append on to it?

Thanks, J


Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.