[整理中][原创]PE制作简单小结及插件下载(感谢xmatc兄指导)
是要这个吗
<!-- Nu2Menu entry for ERD Commander 2003
-->
- <NU2MENU>
- <MENU ID="Programs">
<MITEM TYPE="POPUP" DISABLED="@Not(@FileExists(@GetProgramDrive()\Programs\erdcmd2003\*.*))" MENUID="Erd2003">Winternals ERD Commander 2003</MITEM>
</MENU>
- <MENU ID="Erd2003">
<MITEM TYPE="ITEM" CMD="RUN" FUNC="@SetEnvVar(';target_root';, @GetFolderDialog(';Select target windows directory...';, @GetEnvVar(';target_root';))) @Reload()">Set ERD Target Root (current=@GetEnvVar(';target_root';))</MITEM>
<MITEM TYPE="ITEM" DISABLED="@Or(@Not(@FileExists(@GetEnvVar(';target_root';)\system32\config\sam)), @Not(@FileExists(@GetProgramDrive()\Programs\erdcmd2003\regedit.exe)))" CMD="RUN" FUNC="@GetProgramDrive()\Programs\erdcmd2003\regedit.exe">RegEdit</MITEM>
<MITEM TYPE="ITEM" DISABLED="@Or(@Not(@FileExists(@GetEnvVar(';target_root';)\system32\config\sam)), @Not(@FileExists(@GetProgramDrive()\Programs\erdcmd2003\locksmith.exe)))" CMD="RUN" FUNC="@GetProgramDrive()\Programs\erdcmd2003\locksmith.exe">Change Password</MITEM>
<MITEM TYPE="ITEM" DISABLED="@Or(@Not(@FileExists(@GetEnvVar(';target_root';)\system32\config\sam)), @Not(@FileExists(@GetProgramDrive()\Programs\erdcmd2003\compmgmt.exe)))" CMD="RUN" FUNC="@GetProgramDrive()\Programs\erdcmd2003\compmgmt.exe">Computer Management</MITEM>
<MITEM TYPE="ITEM" DISABLED="@Or(@Not(@FileExists(@GetEnvVar(';target_root';)\system32\config\sam)), @Not(@FileExists(@GetProgramDrive()\Programs\erdcmd2003\SystemCompare.exe)))" CMD="RUN" FUNC="@GetProgramDrive()\Programs\erdcmd2003\SystemCompare.exe">System Compare</MITEM>
<MITEM TYPE="ITEM" DISABLED="@Or(@Not(@FileExists(@GetEnvVar(';target_root';)\system32\config\sam)), @Not(@FileExists(@GetProgramDrive()\Programs\erdcmd2003\SystemRestore.exe)))" CMD="RUN" FUNC="@GetProgramDrive()\Programs\erdcmd2003\SystemRestore.exe">System Restore</MITEM>
<MITEM TYPE="SEPARATOR" />
<MITEM TYPE="ITEM" DISABLED="@Not(@FileExists(@GetProgramDrive()\Programs\erdcmd2003\tcpcfg.exe))" CMD="RUN" FUNC="@GetProgramDrive()\Programs\erdcmd2003\tcpcfg.exe">TCP Config</MITEM>
<MITEM TYPE="ITEM" DISABLED="@Not(@FileExists(@GetProgramDrive()\Programs\erdcmd2003\explorer.exe))" CMD="RUN" FUNC="@GetProgramDrive()\Programs\erdcmd2003\explorer.exe">Explorer</MITEM>
<MITEM TYPE="ITEM" DISABLED="@Not(@FileExists(@GetProgramDrive()\Programs\erdcmd2003\FileRestore.exe))" CMD="RUN" FUNC="@GetProgramDrive()\Programs\erdcmd2003\FileRestore.exe">File Restore</MITEM>
<MITEM TYPE="ITEM" DISABLED="@Not(@FileExists(@GetProgramDrive()\Programs\erdcmd2003\FileSearch.exe))" CMD="RUN" FUNC="@GetProgramDrive()\Programs\erdcmd2003\FileSearch.exe">File Search</MITEM>
<MITEM TYPE="ITEM" DISABLED="@Not(@FileExists(@GetProgramDrive()\Programs\erdcmd2003\FileShare.exe))" CMD="RUN" FUNC="@GetProgramDrive()\Programs\erdcmd2003\FileShare.exe">File Share</MITEM>
<MITEM TYPE="ITEM" DISABLED="@Not(@FileExists(@GetWinDir()\system32\erdhelp.exe))" CMD="RUN" FUNC="@GetWinDir()\system32\erdhelp.exe erdcmdr2003.cnt erdcmdr2003.rtf">Erd Help</MITEM>
</MENU>
</NU2MENU>