<?xml version="1.0" encoding="windows-1252"?>
<node id="1004702" title="How to escape space in registry path?" created="2012-11-20 07:04:21" updated="2012-11-20 07:04:21">
<type id="115">
perlquestion</type>
<author id="1001247">
anaconda_wly</author>
<data>
<field name="doctext">
&lt;p&gt; How to escape space in registry path? I tried several ways but failed. &lt;/p&gt;
&lt;code&gt; 
use Win32::TieRegistry( Delimiter =&gt; '/' );
$value = $Registry-&gt;{ "HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Updates/Windows Server 2003/" } ;
&lt;/code&gt;
&lt;p&gt; $value always empty. But for below is correct. Apparently, the "Windows Server 2003" is not correctly escaped. Anyone knows how to do? Thanks!&lt;/p&gt;
&lt;code&gt; 
$value = $Registry-&gt;{ "HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Updates/"} ;
&lt;/code&gt;

</field>
</data>
</node>
