<?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: How to use a windows variable within perl scripting in Operating System - Microsoft</title>
    <link>https://community.hpe.com/t5/operating-system-microsoft/how-to-use-a-windows-variable-within-perl-scripting/m-p/4431511#M9348</link>
    <description>&lt;!--!*#--&gt;you can get windows environment variable using ENV. eg $ENV{'OvAgentDir'}</description>
    <pubDate>Wed, 03 Jun 2009 05:35:48 GMT</pubDate>
    <dc:creator>ghostdog74</dc:creator>
    <dc:date>2009-06-03T05:35:48Z</dc:date>
    <item>
      <title>How to use a windows variable within perl scripting</title>
      <link>https://community.hpe.com/t5/operating-system-microsoft/how-to-use-a-windows-variable-within-perl-scripting/m-p/4431509#M9346</link>
      <description>All,&lt;BR /&gt;&lt;BR /&gt;I have a perl script that need to trigger of an .exe for the following directory.&lt;BR /&gt;&lt;BR /&gt;C:\Documents and Settings\All Users\Application Data\HP\HP BTO Software\bin\instrumentation&lt;BR /&gt;&lt;BR /&gt;On the windows server "set" show the variable is set to OvAgentDir&lt;BR /&gt;&lt;BR /&gt;I try the following none seem to work.&lt;BR /&gt;&lt;BR /&gt;my $INST_DIR = "%OvAgentDir%";&lt;BR /&gt;my $INST_DIR = "C:\\DOCUME~1\\ALLUSE~1\\Application Data\\HP\\HP BTO Software";&lt;BR /&gt;&lt;BR /&gt;I appreciate all help.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;-Junior</description>
      <pubDate>Tue, 02 Jun 2009 18:26:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-microsoft/how-to-use-a-windows-variable-within-perl-scripting/m-p/4431509#M9346</guid>
      <dc:creator>Junior C.</dc:creator>
      <dc:date>2009-06-02T18:26:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to use a windows variable within perl scripting</title>
      <link>https://community.hpe.com/t5/operating-system-microsoft/how-to-use-a-windows-variable-within-perl-scripting/m-p/4431510#M9347</link>
      <description>Hi Junior:&lt;BR /&gt;&lt;BR /&gt;How about:&lt;BR /&gt;&lt;BR /&gt;# perl -e "my $INST_DIR='C:\DOCUME~1\ALLUSE~1\Application Data\HP\HP BTO Software';chdir $INST_DIR or print 'no can do'"&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Tue, 02 Jun 2009 19:01:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-microsoft/how-to-use-a-windows-variable-within-perl-scripting/m-p/4431510#M9347</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2009-06-02T19:01:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to use a windows variable within perl scripting</title>
      <link>https://community.hpe.com/t5/operating-system-microsoft/how-to-use-a-windows-variable-within-perl-scripting/m-p/4431511#M9348</link>
      <description>&lt;!--!*#--&gt;you can get windows environment variable using ENV. eg $ENV{'OvAgentDir'}</description>
      <pubDate>Wed, 03 Jun 2009 05:35:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-microsoft/how-to-use-a-windows-variable-within-perl-scripting/m-p/4431511#M9348</guid>
      <dc:creator>ghostdog74</dc:creator>
      <dc:date>2009-06-03T05:35:48Z</dc:date>
    </item>
  </channel>
</rss>

