copype.cmd x86 c:\winpe_x86
imagex /mountrw c:\winpe_x86\winpe.wim 1 c:\winpe_x86\mount
copy D:\I386\SHELL\GHOST\RESTOREGHOST.EXE C:\winpe_x86\mount\Windows\Ghost32.exe
:copy D:\I386\SHELL\GHOST\RESTOREGHOST.EXE C:\winpe_x86\mount\Windows\System32\Ghost32.exe
peimg /inf=<c:\mydevice.inf> c:\winpe_x86\mount\windows
peimg /inf=C:\WINDOWS\system32\drivers\KR10N.INF c:\winpe_x86\mount\windows
peimg /prep c:\winpe_x86\mount\windows
imagex /unmount c:\winpe_x86\mount /commit
copy c:\winpe_x86\winpe.wim c:\winpe_x86\ISO\sources\boot.wim
oscdimg -n -bc:\winpe_x86\etfsboot.com c:\winpe_x86\ISO c:\winpe_x86\winpe_x86.iso
imagex /unmount c:\winpe_x86\mount
copy D:\I386\SHELL\GHOST\RESTOREGHOST.EXE C:\winpe_x86\mount\Windows\System32\Ghost32.exe
copy "C:\Program Files\Symantec\Norton Ghost 2003\Ghostexp.exe" C:\winpe_x86\mount\Windows\System32\GhostExp.exe
copy "C:\Program Files\Windows AIK\Tools\x86\imagex.exe" C:\winpe_x86\mount\Windows\System32\imagex.exe
<?xml version="1.0"?><NU2MENU> <MENU ID="Startmenu"> <MITEM TYPE="POPUP" DISABLED="@SetMenuPos( 'L','B' )0" MENUID="Programs">Programs</MITEM> <MITEM TYPE="POPUP" MENUID="System">System</MITEM> <MITEM TYPE="ITEM" CMD="RUN" FUNC="@GetEnvVar('ComSpec')">Command Prompt (CMD)</MITEM> <MITEM TYPE="ITEM" CMD="RUN" FUNC="@ShowRunDialog()">Run...</MITEM> <MITEM TYPE="POPUP" MENUID="About">About</MITEM> <MITEM TYPE="SEPARATOR"></MITEM> <MITEM TYPE="POPUP" VISIBILITY="@Shl(@Not(@FileExists(@GetWinDir()\setupldr.bin)),'1')" MENUID="Shutdown">Shut down</MITEM> <MITEM TYPE="ITEM" VISIBILITY="@Shl(@FileExists(@GetWinDir()\setupldr.bin),'1')" CMD="EXIT">Exit</MITEM> </MENU> <MENU ID="Shutdown"> <MITEM TYPE="ITEM" VISIBILITY="@Shl(@FileExists(@GetWinDir()\system32\nu2shell.exe),'1')" CMD="EXIT">Exit Nu2menu</MITEM> </MENU> <MENU ID="System"> <MITEM TYPE="ITEM" CMD="RUN" FUNC="taskmgr.exe">Task Manager</MITEM> <MITEM TYPE="POPUP" MENUID="Nu2Menu">Nu2Menu</MITEM> </MENU> <MENU ID="Nu2Menu"> <MITEM TYPE="ITEM" CMD="RUN" FUNC="@GetWinDir()\system32\notepad.exe @GetProgramDrive()\Nu2Menu\nu2menu.xml">Edit menu</MITEM> <MITEM TYPE="ITEM" CMD="RELOAD">Reload menu</MITEM> <MITEM TYPE="SEPARATOR"></MITEM> <MITEM TYPE="ITEM" CMD="HIDEFROMTASKBAR">Hide from taskbar</MITEM> <MITEM TYPE="ITEM" CMD="SHOWINTASKBAR">Show in taskbar</MITEM> </MENU> <MENU ID="About"> <MITEM TYPE="ITEM">OS: Windows @GetOSVersion(), Service Pack @GetServicePackNumber(), Build @OsBuild()</MITEM> <MITEM TYPE="ITEM">User: @GetUserName() on @GetHostName()</MITEM> <MITEM TYPE="ITEM">Windows directory: @GetWinDir()</MITEM> <MITEM TYPE="ITEM">Temp dir: @GetTmpDir()</MITEM> <MITEM TYPE="ITEM">Get environment ComSpec: @GetEnvVar('ComSpec')</MITEM> <MITEM TYPE="SEPARATOR"></MITEM> <MITEM TYPE="ITEM">Nu2Menu version: @Ver()</MITEM> <MITEM TYPE="ITEM">Program directory: @GetProgramDir()</MITEM> <MITEM TYPE="ITEM">Program drive: @GetProgramDrive()</MITEM> </MENU></NU2MENU><!-- Nu2Menu entry for "DiskPart" --><NU2MENU> <MENU ID="Programs"> <MITEM TYPE="ITEM" VISIBILITY="@Shl(@Not(@FileExists(@GetWinDir()\System32\diskpart.exe)),'1')" CMD="RUN" FUNC="@GetWinDir()\System32\diskpart.exe">DiskPart</MITEM> </MENU></NU2MENU><!-- Nu2Menu entry for Ghost32 --><NU2MENU> <MENU ID="Programs"> <MITEM TYPE="POPUP" DISABLED="@Not(@FileExists(@GetWinDir()\system32\ghost*.*))" MENUID="Symantec Ghost">Symantec Ghost</MITEM> </MENU> <MENU ID="Symantec Ghost"> <MITEM TYPE="ITEM" VISIBILITY="@Shl(@Not(@FileExists(@GetWinDir()\system32\ghost32.exe)),'1')" CMD="RUN" FUNC="@GetWinDir()\system32\Ghost32.exe">Ghost32</MITEM> <MITEM TYPE="ITEM" VISIBILITY="@Shl(@Not(@FileExists(@GetWinDir()\system32\ghostexp.exe)),'1')" CMD="RUN" FUNC="@GetWinDir()\system32\GhostExp.exe">GhostExplorer</MITEM> </MENU></NU2MENU><!-- Nu2Menu entry for ImageX --> <NU2MENU> <MENU ID="Programs"> <MITEM TYPE="ITEM" VISIBILITY="@Shl(@Not(@FileExists(@GetWinDir()\system32\imagex.exe)),'1')" CMD="RUN" FUNC="@GetWinDir()\system32\imageX.exe">ImageX</MITEM> </MENU></NU2MENU><!-- Nu2Menu entry for notepad --> <NU2MENU> <MENU ID="Programs"> <MITEM TYPE="ITEM" VISIBILITY="@Shl(@Not(@FileExists(@GetWinDir()\system32\notepad.exe)),'1')" CMD="RUN" FUNC="@GetWinDir()\system32\notepad.exe">notepad</MITEM> </MENU></NU2MENU>
[LaunchApp]AppPath = %SYSTEMDRIVE%\nu2menu\nu2menu.exe[LaunchApps]AppPath =