Jump to content

Recommended Posts

Posted

I want to add the current local date and time to the registry but unable to accomplish it. i check inside the help topics too. Can someone help me out how to quick and simple way to do this please? Thanks

Posted

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

  • 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
×
×
  • Create New...