Welcome to mirror list, hosted at ThFree Co, Russian Federation.

test_5_1_5.lua « test - github.com/windirstat/lua-winreg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 4af318811c6169528d17abb682d94c552af0120e (plain)
1
2
3
4
5
6
7
8
local winreg = require"winreg"
-- Enumerate Application paths
rkey = [[HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths]]
hkey = winreg.openkey(rkey)
for k in hkey:enumkey() do
	print(k,(hkey:openkey(k):getvalue()))
	collectgarbage()
end