Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.
December 5, 2006
The Internet Explorer 7 Menu bar contains the File, Edit, View, Favorites, Tools, and Help sub-menus.
NOTE: See tip 10987 How can I configure the Menu bar of Internet Explorer 7 to be at the top of the Window?
I have scripted NoIEMenu.bat to remove the Internet Explorer 7 Menu bar.
The syntax for using NoIEMenu.bat is to close all instances of Internet Explorer and run NoIEMenu.bat
NoIEMenu.bat contains:
@echo offsetlocalcall :quiet >nul 2>&1endlocalgoto :EOF:quietset key1="HKCUSoftwareMicrosoftInternet ExplorerToolbar"set key2="HKCUSoftwareMicrosoftInternet ExplorerMain"set State=Xfor /f "Tokens=3" %%a in ('reg query %key1% /V Locked^|find "REG_DWORD"') do (if "%%a" EQU "0x1" set State=L® ADD %Key1% /V Locked /T REG_DWORD /F /D 0)REG ADD %key2% /V Show_Toolbar /T REG_SZ /F /D "no"if "%State%" EQU "L" reg ADD %Key1% /V Locked /T REG_DWORD /F /D 1
You May Also Like