Lost Password?


Go Back   CodeCall Programming Forum > Software Development > General Programming

General Programming Non language specific, Assembly, Linux/Unix, Mac and anything not covered in other topics. Talk about Programming Theory here.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-29-2008, 04:44 PM
JBrinley JBrinley is offline
Newbie
 
Join Date: Jan 2008
Posts: 2
Rep Power: 0
JBrinley is on a distinguished road
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!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Sponsored Links
  #2 (permalink)  
Old 01-29-2008, 05:05 PM
Ancient Dragon's Avatar   
Ancient Dragon Ancient Dragon is offline
Newbie
 
Join Date: Jan 2008
Location: near St Louis, MO USA
Posts: 13
Rep Power: 0
Ancient Dragon is on a distinguished road
Default

Example here. Scroll down the page to the section How to create your own .reg files
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 01-29-2008, 06:12 PM
JBrinley JBrinley is offline
Newbie
 
Join Date: Jan 2008
Posts: 2
Rep Power: 0
JBrinley is on a distinguished road
Default

i know how to make a .reg file. I just need the code.

I have made some progress though...

text Code:
  1. Windows Registry Editor Version 5.00
  2.  
  3. [-HKEY_LOCAL_MACHINE\SOFTWARE\Symantec\CCPD-LC\KStore\00000082\00000049\000000b9]
  4. "Key"="
  5.  
  6. [-HKEY_LOCAL_MACHINE\SOFTWARE\Symantec\CCPD-LC\KStore]

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:
text Code:
  1. 00000082, 00000049, 000000b9
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?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 08-02-2008, 01:16 PM
Hilmz Hilmz is offline
Newbie
 
Join Date: Aug 2008
Location: Denmark
Posts: 1
Rep Power: 0
Hilmz is on a distinguished road
Default 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!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 08-03-2008, 03:22 PM
|pH|'s Avatar   
|pH| |pH| is offline
Guru
 
Join Date: Jul 2008
Location: Miami, FL.
Age: 17
Posts: 1,567
Last Blog:
BASIC Training
Rep Power: 14
|pH| is a jewel in the rough|pH| is a jewel in the rough|pH| is a jewel in the rough
Send a message via AIM to |pH| Send a message via MSN to |pH|
Default Re: .bat or .reg file to delete registry key

Why are you trying to edit your registry?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Sponsored Links
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Windows XP Tricks & Tips!!!!..new ones. pranky Tutorials 9 08-23-2008 04:22 PM
VB6.0:Tutorial, WipeFile TcM VB Tutorials 8 06-11-2008 12:33 PM
Getting a C# program with a manifest file to run in the debugger xarzu C# Programming 0 01-18-2008 07:38 PM
Batch File Help ineedhelp General Programming 4 11-15-2007 08:04 PM
Issue writing to file: pointer to a class which contains pointers to other classes Sheemer C and C++ 0 08-21-2007 02:17 AM


All times are GMT -5. The time now is 05:44 PM.

Contest Stats

WingedPanther ........ 2753.6
Xav ........ 2704
Brandon W ........ 1702.32
John ........ 1207.73
marwex89 ........ 1175.24
morefood2001 ........ 966.05
dcs ........ 655.75
Steve.L ........ 475.59
orjan ........ 418.58
Aereshaa ........ 383.54

Contest Rules

CodeCall Goal

Goal: 100,000 Posts
Complete: 98%

Ads