home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   alt.msdos.batch.nt      Fun with Windows NT batch files      68,980 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 67,021 of 68,980   
   B00ze to B00ze64@hotmail.com   
   Re: Errors on Reg Delete   
   22 Aug 17 01:08:09   
   
   From: B00ze64@hotmail.com   
      
   On 2017-08-21 23:34, B00ze  wrote:   
      
   > On 2017-08-19 14:57, Docfxit  wrote:   
   >   
   >> I have used this code recently and it worked fine.  Now when I use it on   
   the same Win7 PC I get errors.   
   >>   
   >> @echo off   
   >> Reg Delete "HKEY_CURRENT_USER\Software\Classes\Local Settings   
   Software\Microsoft\Windows\CurrentVersion\TrayNotify" /v "PastIconsStream"=-    
   /f   
   >> Reg Delete "HKEY_CURRENT_USER\Software\Classes\Local Settings   
   Software\Microsoft\Windows\CurrentVersion\TrayNotify" /v "IconStreams"=-  /f   
   >> taskkill /f /IM explorer.exe   
   >> Start explorer.exe   
   >> cmd   
   >>   
   >> These are the errors I get:   
   >> ERROR: The system was unable to find the specified registry key or value.   
   >> ERROR: The system was unable to find the specified registry key or value.   
   >   
   > PastIconsStream"=- is fine for .reg files, but you are using Reg Delete,   
   just specify the value name, do not pad with =-   
   >   
   > Regards,   
      
   Ah! Backup your keys first! I had created an extra TEST value in   
   TrayNotify, then deleted it with /v "TEST" and pressed F5 in RegEdit and   
   it had worked as expected, later I logged off and logged back in and ALL   
   the values in TrayNotify had disappeared! Freaking Windows; no idea what   
   happened but I suggest you backup stuff. Also, I think you have to kill   
   Explorer FIRST, THEN delete the keys and restart Explorer...   
      
   Best Regards,   
      
   --   
   ! _\|/_  Sylvain / B00ze64@hotmail.com   
   ! (o o)   Member:David-Suzuki-Fdn/EFF/Red+Cross/SPCA/Planetary-Society   
   oO-( )-Oo  Drunken Borg: "Rsilience in floor tile. Wan'be similated?"   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca