When we use PE, there is a software in the PE system does not, but I just want to use, do I want to add myself to the PE system? There is a PE system under the software, I want to use, do I have to enter the PE system to use it?
In fact, the following to teach you a random way to add PE software, in order to solve this problem, can be used to add a simple DIY folder, which is optional add delete software.
Petools. INI, for searching the Petools directory (inspired by the hhh333 Petools.ini) Note: The Petools directory is built under the partition root directory.
' Generate a shortcut to the target file
_sub Makelink
EXEC =! Cmd/c "COPY"%systemroot%system32shortcut. BAT ""%tools%shortcut. BAT ""
EXEC =! Cmd/c "COPY"%systemroot%system32main. INI ""%tools%main. INI ""
LOAD%tools%main. Ini
MESS%tools% has been loaded into the Start menu. @ Mount Petools Tool #OK *2000
_end
' Search for files in Petools directory
Forx @PETOOLS, Tools,0,call makelink
Shortcut. BAT content as follows, search Petools executable file, set up the corresponding directory, and install *.inf, register *.reg and other auxiliary files.
@echo off
PUSHD%~dp0
IF not EXIST "%userprofile%" Start "Menu expansion directory (MD"%userprofile%"Start Menu Expansion Program directory")
for/f "delims="%%a in (' dir/b/ad ') do (
MD "%userprofile%" Start "Menu expansion program Directory%%a"
pushd "%%a"
FOR/R%%b in (*.exe *.cmd *.bat *.wim) do (
shortcut.exe/f: "%userprofile%" Start "menu expands directory%%a%%~nb.lnk"/A:C/t: "%%~FB"
FOR/R%%c in (*.inf) do RUNDLL32. EXE SetupAPI. Dll,installhinfsection DefaultInstall 128.%%c
FOR/R%%d in (*.reg) do regedit/s "%%d"
popd
)
)
Exit
Main.ini for the execution of Shortcut.bat.
EXEC!%curdir%shortcut. BAT
Forx. *.exe,var0,0,link%startmenu% Expansion Program Directory%var0%,%var0%
Forx. *.bat,var1,0,link%startmenu% Expansion Program Directory%var1%,%var1%
Forx. *.cmd,var2,0,link%startmenu% Expansion Program Directory%var2%,%var2%
Forx. *.wim,var3,0,link%startmenu% Expansion Program Directory%var3%,%var3%
FILE%startmenu% Expansion Program Directory SHORTCUT.BAT.lnk
EXIT
How to use:
1, download the attachment file, put four files under System32.
2, in their own local hard disk or U disk root directory to establish Petools folder, the program will be used in one of the lines, without additional settings.
3, into the PE, the implementation of the desktop Search load Petools to the Start menu.