; $Id$ ; Created by Ross Smith (http://smithii.com/) ; PE Builder v3 plug-in INF file [Version] Signature= "$Windows NT$" [PEBuilder] Name="[smithii.com] Set Environment Variables" Enable=1 Help="z_pesetenv.htm" [Update] id=z_pesetenv depends= url=http://smithii.com/files/plugins Version=$Revision$ [SourceDisksFiles] addpath.cmd=2,,1 autorun1!_pesetenv.cmd=2,,1 cmd_autorun.cmd=2,,1 PESetEnv.exe=2,,1 setenv.exe=2,,1 setenvvar.cmd=2,,1 [Default.AddReg] 0x2, "Software\Microsoft\Command Processor", "AutoRun", "%SystemDrive%\I386\SYSTEM32\cmd_autorun.cmd" [SetupReg.DelReg] 0x1,"Setup","CmdLine" [SetupReg.AddReg] ; if you are using XPE as your shell: ;0x1,"Setup","CmdLine","PESetEnv.exe XPELogon.exe -r" ; if you are using NU2Menu as your shell: ;0x1, "Setup", "CmdLine", "PESetEnv.exe X:\Programs\Nu2Menu\nu2menu.exe" ; you can also specify the starting directory using the -d option: ;0x1, "Setup", "CmdLine", "PESetEnv.exe -d B:\ X:\Programs\nu2menu.exe"