Closed Thread
Results 1 to 5 of 5

Thread: .bat or .reg file to delete registry key

  1. #1
    JBrinley is offline Newbie
    Join Date
    Jan 2008
    Posts
    2
    Rep Power
    0

    Question .bat or .reg file to delete registry key

    Hello...
    I am new here and am a total programming noob; although I want to learn about it, lol.

    My Problem:
    I need to create a registry key (folder) and all of its contents with a single click-able icon like a .bat or a .reg file; but not limited to. I have been asking around and reading up to find 2 different ways, but both I could not get to work. I am hoping someone could help me out on this one.

    The String I want deleted:
    HKLM\SOFTWARE\Symantec\CCPD-LC\KStore

    Thanks!

  2. CODECALL Circuit advertisement
    Join Date
    Always
    Posts
    Many

     
  3. #2
    Ancient Dragon's Avatar
    Ancient Dragon is offline Programming Expert
    Join Date
    Jan 2008
    Location
    near St Louis, MO USA
    Posts
    393
    Rep Power
    17
    Example here. Scroll down the page to the section How to create your own .reg files

  4. #3
    JBrinley is offline Newbie
    Join Date
    Jan 2008
    Posts
    2
    Rep Power
    0
    i know how to make a .reg file. I just need the code.

    I have made some progress though...

    [HIGHLIGHT="text"]Windows Registry Editor Version 5.00

    [-HKEY_LOCAL_MACHINE\SOFTWARE\Symantec\CCPD-LC\KStore\00000082\00000049\000000b9]
    "Key"="

    [-HKEY_LOCAL_MACHINE\SOFTWARE\Symantec\CCPD-LC\KStore][/HIGHLIGHT]

    It deletes the value in the sub folders, then deletes the whole tree. I tried just deleting the whole tree only, but all the values must be out of the folders.

    The thing with symantec is the three folders you see:
    [HIGHLIGHT="text"]00000082, 00000049, 000000b9[/HIGHLIGHT]
    are different on every computer. Is there any type of wildcard command? There will always be 3 folders, just randomly generated names. Which is why i wanted to just delete it from the root or base folder in the first place....

    Help guys?

  5. #4
    Hilmz is offline Newbie
    Join Date
    Aug 2008
    Location
    Denmark
    Posts
    1
    Rep Power
    0

    Re: .bat or .reg file to delete registry key

    what do i use .reg files for?
    i know .bat's a little.
    10011011010011001000101101010110010011010101010011 01101001100100010110101011001001101010 I Am Epic Binary Noob LL!

  6. #5
    Join Date
    Jul 2008
    Location
    ┌∩┐(◣_◢)┌∩┐
    Posts
    1,579
    Blog Entries
    1
    Rep Power
    26

    Re: .bat or .reg file to delete registry key

    Why are you trying to edit your registry?
    #!CrunchBang Linux ~$ apt-get into it | #!(Statler:R20101205): OpenBox | Like Linux?
    “The cure for boredom is curiosity. There is no cure for curiosity.”

Closed Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 5
    Last Post: 11-06-2010, 05:10 AM
  2. Trying to delete a file that's in use
    By TheWebGuy in forum ASP, ASP.NET and Coldfusion
    Replies: 2
    Last Post: 11-03-2010, 11:24 PM
  3. Registry?
    By MarkA in forum Linux/Unix General
    Replies: 5
    Last Post: 12-10-2008, 05:15 AM
  4. Can't Delete Directory/File
    By Chan in forum Computer Software/OS
    Replies: 5
    Last Post: 12-21-2007, 08:36 AM
  5. programming a file to auto-delete
    By solipsist in forum General Programming
    Replies: 2
    Last Post: 10-10-2007, 05:25 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts