8000
Skip to content

Latest commit

 

History

20 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

winreg

Build status


Jas Latrix

Copyright © 2005, 2006 Jas Latrix

All Rights Deserved. Use at your own risk!. Shake well before using.


Introduction

winreg is a Lua binary module to Access Microsoft(R) Windows(R) Registry. The registry is a system-defined database that applications and Microsoft(R) Windows(R) system components use to store and retrieve configuration data. Load the module via the require function (make sure Lua can find the module), for example:

local winreg = require"winreg"

-- prints all the special folders
hkey = winreg.openkey[[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion]]

skey = hkey:openkey([[Explorer\Shell Folders]])
for name in skey:enumvalue() do
  print("\nname: " .. name
     .. "\npath: " .. skey:getvalue(name))
end

About

Lua binary module to Access Microsoft(R) Windows(R) Registry

Topics

Resources

Stars

9 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages

0