Auto-install-all.bat

張貼者:2010年3月11日 上午4:00tony.hkcomputer@gmail.com   [ 已更新 2011年10月30日 上午8:09 ]
@rem these script and associated silent installation batch files are complied by http://www.hkcomputer.co.cc
@rem
if not %ALLUSERSPROFILE:~3,7%==Program goto notvista7
  echo Windows Registry Editor Version 5.00> DisableConsentPromptBehaviorAdmin.reg
  echo [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System]>> DisableConsentPromptBehaviorAdmin.reg
  echo "ConsentPromptBehaviorAdmin"=dword:00000000>> DisableConsentPromptBehaviorAdmin.reg
  call DisableConsentPromptBehaviorAdmin.reg
:notvista7
set dir1=%windir%\Temp\all
for %%U in (i-A*.bat) do call %%U
for %%U in (i-B*.bat) do call %%U
for %%U in (i-C*.bat) do call %%U
for %%U in (i-D*.bat) do call %%U
for %%U in (i-E*.bat) do call %%U
for %%U in (i-F*.bat) do call %%U
for %%U in (i-G*.bat) do call %%U
for %%U in (i-H*.bat) do call %%U
@ping localhost -n 30 > nul
 
 
Comments