Jump to content

Path Edit in WinPE


Eagle710

Recommended Posts


Here is a description of how they are added at runtime, I assume it should require you build you PE with the scripting environment if you have not already done so. These path variables will get reset each time the script is run. So be aware of that if you are writing multiple scripts that need these variables. They need to be specified in each script.

It starts about a third the way down. The PATH Environment Variable

http://vlaurie.com/computers2/Articles/environment.htm

If you read further in the thread it describes how to preset them via the registry. I assume this could be applied somehow into the HIVE's inside your PE.wim. Or integrated into your WIM via a registry setting .INF file. But it seems easiest just to set them at run-time.

EDIT: On second read, I suggest this "path = %PATH%;newdir " or "path = %PATH%;C:\MyPath" as that is non-destructive to existing path variables.

Edited by MrJinje
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...