Jump to content

How to Run a Registry Key?


dryper
 Share

Recommended Posts

you don't want to run a registry key. you want to run a program whose path is specified in a registry key. it would be something like this.

Run(RegRead("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\11.0\Excel\InstallRoot","Path"))

that would run excel on my computer. because that registry key contains the installed location for excel.

Link to comment
Share on other sites

Not sure what your asking, but if your looking to run a .reg then:

Run("regedt32.exe random.reg")

There you go XD

EDIT: Whoop cameraonsdad beat me XD

Edited by MethodZero

[center]"When you look at old, classic games like Snake, you often put it off because it's such a simple game, but it's only when you actually try and create your own unique game from scratch, do you finally appreciate those games."[/center][center]Don't ask for answers if you haven't TRIED yet![/center][center]Most answers can be answered in the help file! Use it![/center]

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...