adding an entry to the PATH environment variable

adding an entry to the PATH environment variable

Post by derek lauf » Sun, 13 Jul 2003 06:57:05


Hello all,

I need to put a directory on the Path for the XPe target I'm building. What
is the standard way to do this? I'd like any logins, administrator
included, to have this additional directory on its path. Also, can anyone
tell me how to enter other environment variables into the system?

Thanks in advance,

Derek
 
 
 

adding an entry to the PATH environment variable

Post by eMV » Sun, 13 Jul 2003 08:24:25

Derek,

To add an environement variable, create a new registry resource under the
following registry key:

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Session Manager\Environment

You can either create component with the registry resource, or just create
the registry resrouce in the Extra Registry Data in your configuration.


The evironment Path is set under the same key. The questions is how to set
it in TD since there are other Path directories? Or use a script that sets
the Path during FBA?


Regards,

Sean Liming
www.a7eng.com
Author: Windows NT Embedded Step-By-Step and XP Embedded Advanced.







What