Announcement

Collapse
No announcement yet.

add a .reg file to the registry when the autoplaystarts

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • element78
    replied
    Re: add a .reg file to the registry when the autoplaystarts

    and: regedit /backup <path\filename.reg>

    to backup the entire registry [img]/ubbthreads/images/icons/smile.gif[/img] very nice option to offer your users.

    Leave a comment:


  • Lorne
    replied
    Re: add a .reg file to the registry when the autoplaystarts

    Corey's right, it's usually better to use the built-in Registry actions. Unless you don't know what the contents of the .reg files are (maybe they're user-supplied tweak files, or Registry tweaks freshly downloaded from the Internet), or need to set a REG_BINARY value or something...in that case, just use the regedit /s command line option.

    Here are all of the command line options that regedit understands:

    <font color=green>regedit.exe [options] [filename]

    filename Import .reg file into the registry
    /s Silent, i.e. hide confirmation box when importing files
    /e Export registry file
    e.g. regedit /e file.reg HKEY_USERS\.DEFAULT
    /L:system Specify the location of the system.dat to use
    /R:user Specify the location of the user.dat to use
    /C Compress [filename] (Windows 98)</font color=green>

    Leave a comment:


  • Corey
    replied
    Re: add a .reg file to the registry when the autoplaystarts

    Hi, try writing the key(s) manually using REGISTRY actions instead of importing them as a .reg file, that works...

    Corey Milner
    Creative Director, Indigo Rose Software

    Leave a comment:


  • add a .reg file to the registry when the autoplaystarts

    I want to be able to add a .reg file when it starts and delete the .reg key when the autoplay stops. I also don't want it to say, "do you want to add this to the registry'. Please help
Working...
X