echo OFF
set tar=REG QUERY "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders" /v Cache
for /f "skip=3 tokens=1,3" %%i in ('%tar%') do (set x=%%j)
for /f "delims=:\ tokens=1" %%i in ('echo %x%') do set qqpan=%%i:
for /f "skip=3 tokens=1,2 delims=:" %%i in ('%tar%') do (set y=%%j)
sfc /purgecache
set f1="%temp%"
set f2="%tmp%"
set f3="%qqpan%%y%"
set f4="%windir%\temp"
set f5="%windir%\SoftwareDistribution\Download"
set f6="%windir%\ime\IMJP8_1"
set f7="%windir%\ime\IMKR6_1"
for /f "delims=: tokens=1" %%i in ('echo %temp%') do set apan=%%i:
if "%temp%"=="%apan%" echo 变量TEMP在%apan%根目录!&pause
if "%temp%"=="%apan%\" echo 变量TEMP在%apan%根目录带斜杠!&pause
for /f "delims=: tokens=1" %%i in ('echo %tmp%') do set apan=%%i:
if "%tmp%"=="%apan%" echo 变量TMP在%apan%根目录!&pause
if "%tmp%"=="%apan%\" echo 变量TMP在%apan%根目录带斜杠!&pause
for /f "delims=: tokens=1" %%i in ('echo %qqpan%%y%') do set apan=%%i:
if "%qqpan%%y%"=="%apan%" echo IE缓存在%apan%根目录!&pause
if "%qqpan%%y%"=="%apan%\" echo IE缓存在%apan%根目录带斜杠!&pause
for %%i in (%f1%,%f2%,%f3%,%f4%,%f5%,%f6%,%f7%) do (rd /s /q %%i & if not exist %%i md %%i)
! REG.EXE VERSION 3.0
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders
Cache REG_SZ C:\Documents and Settings\Administrator\Local Settings\Temporary Internet Files
256 Bytes, 下载次数: 86, 下载积分: 无忧币 -2
for /f "delims=" %%a in ('cscript //nologo a.vbs') do echo %%a
pause
Set WshShell=CreateObject("WScript.Shell")
bKey=WshShell.regRead("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders\Cache")
WScript.Echo bKey
欢迎光临 无忧启动论坛 (http://bbs.wuyou.net/) | Powered by Discuz! X3.3 |