title: Put value in registry using .reg or .bat or .vbs with REG_EXPAND_SZ type
body: <p>My reg:</p>
  
  <pre><code>Windows Registry Editor Version 5.00
  
  [HKEY_CLASSES_ROOT\cultest]
  @="URL:cultest Protocol"
  "URL Protocol"=""
  
  [HKEY_CLASSES_ROOT\cultest\DefaultIcon]
  @="%APPDATA%\\musicDownloader\\test.bat,0"
  
  [HKEY_CLASSES_ROOT\cultest\shell]
  
  [HKEY_CLASSES_ROOT\cultest\shell\open]
  
  [HKEY_CLASSES_ROOT\cultest\shell\open\command]
  @="%APPDATA%\\musicDownloader\\test.bat \"%1\""
  </code></pre>
  
  <p>This .reg creating keys but my problem is that I want to use %APPDATA% and I can't do it with  REG_SZ. It's possible to use with REG_EXPAND_SZ but I don't know how to change it.</p>