|
2#
楼主 |
发表于 2009-4-20 16:49:30
|
只看该作者
///////////////////////////////////////////////////////////
_sub created_dir1
TEAM NAME WimName=%ProWIM%|fext n1=%ProWIM%
find $%n1%=EXE,call Created_link1!find $%n1%=WIM,call Created_link1
find $%n1%=CMD,call Created_link1!find $%n1%=BAT,call Created_link1
_end
_sub created_dir
TEAM NAME WimName=%ProWIM%|fext n1=%ProWIM%
find $%n1%=EXE,call Created_link!find $%n1%=WIM,call Created_link
find $%n1%=CMD,call Created_link!find $%n1%=BAT,call Created_link
_end
_sub Created_link
envi b1=LINK %Desktop%\%WimName%,%ProWIM%
envi b2=LINK %Programs%\%todir%\%WimName%,%ProWIM%
envi b3=LINK %QuickLaunch%\%WimName%,%ProWIM%
find $%todir%=桌面,%b1%!CALL othlike
_end
_sub Created_link1
link %Programs%\%todir%\%dudir%\%WimName%,%ProWIM%
_end
_sub othlike
find $%todir%=快捷工具栏,%b3%!%b2%
find $%dudir%=,!link %Programs%\%todir%\%dudir%\%WimName%,%ProWIM%
_end
_SUB Created_Menu
name todir=%pa1%
forx %CurDir%\%todir%\*.*,ProWIM,0, CALL created_dir
forx @%CurDir%\%todir%\*,PA2,0, CALL created_dudir`双层文件夹
_END
_SUB created_dudir
name dudir=%PA2%
forx %CurDir%\%todir%\%dudir%\*.*,ProWIM,0, CALL created_dir1
_END
ENVI Programs=%USERPROFILE%\「开始」菜单\程序
ENVI Desktop=%USERPROFILE%\桌面
ENVI QuickLaunch=%USERPROFILE%\Application Data\Microsoft\Internet Explorer\Quick Launch
//IFEX %Desktop%\加载外部配置.LNK,FILE %Desktop%\加载外部配置.LNK
FORX @%CurDir%\*,pa1,0,CALL Created_Menu
team envi b1=|envi b2=|envi b3=
LINK %Desktop%\加载外部配置,pecmd.exe load \%CurDir%\must.ini,,shell32.dll #19
///////////////////////////////////////////////////////////
` 注册WimShExt.DLL
CALL $%CurDir%\Wimtools\WimShExt.DLL
` 设置WIM基础挂载目录
REGI HKCU\Software\WimTool\AutoMountPath=%RamDisk%\WimPath
TEXT 创建WIM程序快捷方式……#0x00FFC0 L20 T480 R720 B580 *
LINK %Desktop%\WimTool,%CurDir%\WimTools\WimTool.EXE
//call @windows1
//EXEC =!%CurDrv%\WimTool\wimnt.exe /REG /mp B:\WIM /tp x:\temp
` 建立 GHOST8.3.WIM 映像内的 GhostExp.EXE 的快捷方式
LINK %Desktop%\GhostExp,%CurDir%\桌面\GHOST8.3.WIM,GhostExp.EXE,%CurDir%\桌面\GhostExp.ICO
[ 本帖最后由 coolg 于 2009-4-20 18:51 编辑 ] |
|