<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: VIX PERL RunProgramInGuest, environment variables question... in VIX API Discussions</title>
    <link>https://communities.vmware.com/t5/VIX-API-Discussions/VIX-PERL-RunProgramInGuest-environment-variables-question/m-p/1501135#M1714</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can't depend on environment variables being set when doing a RunProgramInGuest, and it appears that cmd.exe returns the literal string if the env var isn't valid.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 09 May 2007 17:14:48 GMT</pubDate>
    <dc:creator>lemke</dc:creator>
    <dc:date>2007-05-09T17:14:48Z</dc:date>
    <item>
      <title>VIX PERL RunProgramInGuest, environment variables question...</title>
      <link>https://communities.vmware.com/t5/VIX-API-Discussions/VIX-PERL-RunProgramInGuest-environment-variables-question/m-p/1501134#M1713</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I was wondering why certain environment variables aren't getting set.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One environment variable I need is %USERNAME%.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I have remotely turn on cmd.exe, and I issue the command:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;echo %USERNAME%&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it returns "%USERNAME%&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I open a new instance of cmd.exe, from the start menu and type in the same command. I get "hbobuild" which was the username I used in the previous step of LoginGuest.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anybody know why this is happening?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 May 2007 15:26:56 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VIX-API-Discussions/VIX-PERL-RunProgramInGuest-environment-variables-question/m-p/1501134#M1713</guid>
      <dc:creator>Nickker22</dc:creator>
      <dc:date>2007-05-09T15:26:56Z</dc:date>
    </item>
    <item>
      <title>Re: VIX PERL RunProgramInGuest, environment variables question...</title>
      <link>https://communities.vmware.com/t5/VIX-API-Discussions/VIX-PERL-RunProgramInGuest-environment-variables-question/m-p/1501135#M1714</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can't depend on environment variables being set when doing a RunProgramInGuest, and it appears that cmd.exe returns the literal string if the env var isn't valid.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 May 2007 17:14:48 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VIX-API-Discussions/VIX-PERL-RunProgramInGuest-environment-variables-question/m-p/1501135#M1714</guid>
      <dc:creator>lemke</dc:creator>
      <dc:date>2007-05-09T17:14:48Z</dc:date>
    </item>
  </channel>
</rss>

