adding an entry to the PATH environment variable

  • Thread starter Thread starter derek laufenberg
  • Start date Start date
D

derek laufenberg

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
 
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.
 
Back
Top