Jump to content

Add the current local date and time to the registry


aiuse
 Share

Recommended Posts

I use the second one here..

#include <string.au3>
#include <date.au3>

$P_program = "Myprogramname"

 RegWrite("HKCU\Software\Microsoft\Windows\Current Version\Settings\ClickTask.com\X-" & $P_program, "004", "REG_SZ", _NowCalc())

 RegWrite("HKCU\Software\Microsoft\Windows\Current Version\Settings\ClickTask.com\X-" & $P_program, "004", "REG_SZ", _StringEncrypt(1, _NowCalc() , "Jabberwalky"))

Hope that helps

8)

NEWHeader1.png

Link to comment
Share on other sites

  • 1 month later...

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