Jump to content

Delete


 Share

Recommended Posts

So i want to make a program that will check is a reg exists and then do a specific function and then while in the function, write to or make a new reg that has a value of 1. The next time the program is ran, it will read the reg and sees the value is 1 and it wont run the function. What kind of reg should i use and can someone tell me like a sample part of the code?

use the following:

reading example: $pathtoserver = RegRead("HKEY_LOCAL_MACHINE\SOFTWARE\Test", "TestKey").

writing example: RegWrite("HKEY_LOCAL_MACHINE\SOFTWARE\Test", "TestKey", "REG_SZ", $firstinput1)

you should use "REG_SZ".

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...