Haynes Posted August 9, 2006 Posted August 9, 2006 BalloonTips.regWindows Registry Editor Version 5.00[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced]"EnableBalloonTips"=dword:00000000[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run]"msnmsgr"=-"Yahoo! Pager"=-OemPreinstall batch file excerpt:echo.echo. Disable Balloon Tips - Remove Messengers from StartupStart /wait reg import %systemdrive%\OemPreinstall\BalloonTips.regecho. done!When BalloonTips.reg is ran in batch (or command prompt) all of the modifications in the .reg file are applied ith the exception of "Yahoo! Pager"=-But when the .reg file is ran in Windows (double-clicking the .reg file) all the changes are made and the Yahoo! key is deleted as desired.My guess is the space in the value "Yahoo! Pager"=- ?Any comments...?OemPreinstall.bat.txtBalloonTips.reg.txt
Aegis Posted August 9, 2006 Posted August 9, 2006 Did you check if the registry entry actually existed at that point in time before you tried to delete it? Is it possible that you're deleting a non-existant entry, then installing a program over it that writes the entry?
Yzöwl Posted August 9, 2006 Posted August 9, 2006 It has definitely got nothing to do with a space character, but a possibility is the exclamation mark. If your batch file is using delayed expansion the exclamation mark will be an invalid character unless it is escaped (^!).
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now