When we use PE, there is a software in the PE system is not, but I just want to use, do I have to add myself to the PE system? There is a PE system under a software, I want to use, do I have to enter the PE system to use it?
Actually, teach you a random add the method of PE software, in order to solve this problem, can use P processing to add a simple DIY folder, the inside is optional to add deleted software.
Petools. INI for searching the Petools directory (inspired by the hhh333 Petools.ini) Note: The Petools directory should be built under the partition root directory.
' Create 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 the Petools directory
Forx @PETOOLS, Tools,0,call makelink
SHORTCUT. BAT content is as follows, search for executable files under Petools, set up corresponding directories, and install *.inf, register *.reg and other auxiliary files.
@echo off
PUSHD%~dp0
IF not EXIST "%userprofile%" start "menu Extension Program directory" (MD "%userprofile%" Start Menu Expansion Program directory ")
for/f "delims="%%a in (' dir/b/ad ') does (
MD "%userprofile%" Start "menu Extension program directory%%a"
pushd "%%a"
FOR/R%%b in (*.exe *.cmd *.bat *.wim) do (
shortcut.exe/f: "%userprofile%" Start "menu Extension Program directory%%a%%~nb.lnk"/A:C/t: "%%~FB"
FOR/R%%c in (*.inf) do RUNDLL32. EXE SetupAPI. Dll,installhinfsection DefaultInstall.%%c
FOR/R%%d in (*.reg) do regedit/s "%%d"
popd
)
)
Exit
Content in Main.ini, used to perform 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 the system32.
2, in their own local hard disk or the root directory of the U disk to establish Petools folder, the program will be used in which the line, without additional settings.
3, enter the PE, perform a search on the desktop to load Petools to the Start menu.