| 
 | 
3#
 
 
 楼主 |
发表于 2006-6-25 20:11:00
|
只看该作者
 
 
 
set histpath=D:\History 
set histreg=HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\5.0\Cache\Extensible Cache 
 
dir /a:d /b "%histpath%\History.IE5" > %temp%\Mshist01.txt 
 
for /f %%i in (%temp%\Mshist01.txt) do ( 
  reg add "%histreg%\%%i" /v CacheLimit /t REG_DWORD /d 8192 /f >nul 
  reg add "%histreg%\%%i" /v CacheOptions /t REG_DWORD /d 11 /f >nul 
  reg add "%histreg%\%%i" /v CacheRepair /t REG_DWORD /d 0 /f >nul 
  reg add "%histreg%\%%i" /v CachePath /t REG_EXPAND_SZ /d %histpath%\History.IE5\%%i\ /f >nul 
  
  set cpfix=%%i 
  if "%cpfix%" == "" echo 怎么会不见了??? 
 
  rem reg add "%histreg%\%%i" /v CachePrefix /t REG_SZ /d ":%cpfix:~8,16%: " /f >nul 
 
) 
 
set cpfix= 
set histreg= 
set histpath=  
 
 
 
  set cpfix=%%i 
  if "%cpfix%" == "" echo 怎么会不见了??? 
 
  这变量怎么没有了? |   
 
 
 
 |