JSI Tip 10122. How can I clear the FrontPage Recent File, Recent Page, and Recent Web lists?


Using REG.EXE, built into Windows XP, Windows Server 2003, and later operating systems, or installed from the Windows 2000 Support Tools, I have scripted FPMRU.BAT to clear the FrontPage Recent File List, Recent Page List, and Recent Web List.

The syntax for using FPMRU.BAT is:

FPMRU

FPMRU.BAT contains:

@echo off
setlocal
set key1="HKCU\Software\Microsoft\FrontPage\Explorer\FrontPage Explorer\Recent File List"
set key2="HKCU\Software\Microsoft\FrontPage\Explorer\FrontPage Explorer\Recent Page List"
set key3="HKCU\Software\Microsoft\FrontPage\Explorer\FrontPage Explorer\Recent Web List"
call :del %key1% >nul 2>&1
call :del %key2% >nul 2>&1
call :del %key3% >nul 2>&1
endlocal
goto :EOF
:del
for /f "Tokens=1*" %%a in ('reg query %1^|find "REG_SZ"') do (
 REG DELETE %1 /V %%a /F
)



Hide comments

Comments

  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
Publish