import std.stdio;
import std.windows.registry;
void main(string[] args)
{
writeln("hello world");
writefln("args.length = %d", args.length);
foreach (index, arg; args)
{
writefln("args[%d] = '%s'", index, arg);
}
writeln();
writeln(Registry.localMachine().name);
writeln(Registry.localMachine().getKey("System\\CurrentControlSet\\Control\\Session Manager\\Environment").name);
writeln(Registry.localMachine().getKey("System").keyCount);
writeln(Registry.localMachine().getKey("System").valueCount);
writeln(Registry.localMachine().getKey("System\\CurrentControlSet\\Control\\Session Manager\\Environment").valueCount);
write(Registry.localMachine().getKey("System\\CurrentControlSet\\Control\\Session Manager\\Environment").getValue("Path").value_EXPAND_SZ);
Registry.currentUser().createKey("test");
}