From: Phrogz Date: 2007-12-13T07:10:04+09:00 Subject: Re: working with the registry On Dec 12, 2:29 pm, Thufir wrote: > here's what I have: > > irb(main):040:3* > irb(main):041:3* > puts.each_key(Registry.open(Registry::HKEY_LOCAL_MACHINE, 'Software > \Policies\')) > irb(main):042:5' ' > irb(main):043:5> > irb(main):044:5* > > But I seem to be having some sort of problem with closing quotes > (syntax). nickname = 'Gavin \'Phrogz\' Kistner' The backslashes are escaping your last quote. Instead try: 'Software\\Policies\\' (use a backslash to escape the backslash)