|
PE的話,我是用這一條,讓32(64)位元的程式如果找不到會自動去64(32)位元找,因為64PE通常32位元的System不會放太多.exe
- reg add "HKLM\SYSTEM\ControlSet001\Control\Session Manager\Environment" /f /v "Path" /t REG_EXPAND_SZ /d "%%SystemRoot%%\system32;%%SystemRoot%%;%%SystemRoot%%\System32\Wbem;%%SystemRoot%%\SysWOW64;%%SystemRoot%%\sysnative;"
复制代码 如果是系統的話,我則是↓這樣子,32位元和64位元不管哪個執行,全部都可用。
- Windows Registry Editor Version 5.00
- [HKEY_LOCAL_MACHINE\SOFTWARE\Radmin\v3.0\Server]
- "HideTrayIcon"=dword:00000001
- "LicenseText"="There is unlimited license"
- [HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Radmin\v3.0\Server]
- "HideTrayIcon"=dword:00000001
- "LicenseText"="There is unlimited license"
复制代码
|
|