Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3

Thread: Delete REG key?

  1. #1
    Regular Coder
    Join Date
    Jun 2002
    Location
    Beyond Lament
    Posts
    424
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Delete REG key?

    I've scripts that delete files/folders on startup and was wondering how to delete regestry keys on startup or shutdown...

    Quíet Storm Designs ~ Art is not what you see, but what you make others see.
    · the Storms· || ·Ultraviolent Winter· || ·Was Einstein Wrong?· || ·It´s About Time!·

  • #2
    Regular Coder
    Join Date
    Jun 2002
    Location
    North East England
    Posts
    853
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I'm not at my PC so don't have a concrete example, but I'm sure if you stuck the .reg(?) file in the startup folder, it'd run and do whatever regedits you want. Not sure about shutdown...
    [+] Computer/PC issues [+] Silverpaw3D
    ------------------------------------------------
    Never buy a dwarf with learning disabilities...

    ...it's not big, and it's not clever.

  • #3
    Regular Coder
    Join Date
    Jun 2002
    Location
    Beyond Lament
    Posts
    424
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Hmm...

    I tried making a blank copy of the reg file and put it in the startup folder, but is seems like that only adds to the existing reg.

    If I have a reg file:

    1=a
    2=b
    3=c
    4=d

    and I try to run another blank copy of the reg, it does nothing. If I use blank values:

    1=''
    2=''
    3=''
    4=''

    it, again, does nothing. If I use different values:

    1=w
    2=x
    3=y
    4=z

    it will replace the old values with the new... but I can't seem to just delete the darn reg file altogether.

    Last edited by Quiet Storm; 04-20-2003 at 12:04 AM.
    Quíet Storm Designs ~ Art is not what you see, but what you make others see.
    · the Storms· || ·Ultraviolent Winter· || ·Was Einstein Wrong?· || ·It´s About Time!·


  •  

    Posting Permissions

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