<?xml version='1.0' encoding="utf-8"?>
      <rss version='2.0'>
      <channel>
      <title>Форум на Исходниках.RU</title>
      <link>https://forum.sources.ru</link>
      <description>Форум на Исходниках.RU</description>
      <generator>Форум на Исходниках.RU</generator>
  	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=382464&amp;view=findpost&amp;p=3364422</guid>
        <pubDate>Mon, 14 Oct 2013 17:30:17 +0000</pubDate>
        <title>perl и psexec</title>
        <link>https://forum.sources.ru/index.php?showtopic=382464&amp;view=findpost&amp;p=3364422</link>
        <description><![CDATA[worsvch: Проблема решилась: просто перекодировал perl-файл из UTF-8 в ANSI и psexec стал отрабатывать]]></description>
        <author>worsvch</author>
        <category>Perl</category>
      </item>
	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=382464&amp;view=findpost&amp;p=3363497</guid>
        <pubDate>Sat, 12 Oct 2013 08:23:09 +0000</pubDate>
        <title>perl и psexec</title>
        <link>https://forum.sources.ru/index.php?showtopic=382464&amp;view=findpost&amp;p=3363497</link>
        <description><![CDATA[worsvch: извиняюсь, так и было &#092;&#092;&#092;&#092;, но смысл от этого не меняется. Ошибка все равно есть. Использовал Dump<br>
<div class='tag-code'><span class='pre_code'></span><div class='code  code_collapsed ' title='Подсветка синтаксиса доступна зарегистрированным участникам Форума.' style=''><div><div><ol type="1"><div class="code_line">&quot;\x{00d0}&quot; does not map to cp866 at c:3\test2.pl line 26.</div><div class="code_line">&quot;\x{0090}&quot; does not map to cp866 at c:3\test2.pl line 26.</div><div class="code_line">&quot;\x{00d0}&quot; does not map to cp866 at c:3\test2.pl line 26.</div><div class="code_line">&quot;\x{00b4}&quot; does not map to cp866 at c:3\test2.pl line 26.</div><div class="code_line">&quot;\x{00d0}&quot; does not map to cp866 at c:3\test2.pl line 26.</div><div class="code_line">&quot;\x{00bc}&quot; does not map to cp866 at c:3\test2.pl line 26.</div><div class="code_line">&quot;\x{00d0}&quot; does not map to cp866 at c:3\test2.pl line 26.</div><div class="code_line">&quot;\x{00b8}&quot; does not map to cp866 at c:3\test2.pl line 26.</div><div class="code_line">&quot;\x{00d0}&quot; does not map to cp866 at c:3\test2.pl line 26.</div><div class="code_line">&quot;\x{00bd}&quot; does not map to cp866 at c:3\test2.pl line 26.</div><div class="code_line">&quot;\x{00d0}&quot; does not map to cp866 at c:3\test2.pl line 26.</div><div class="code_line">&quot;\x{00b8}&quot; does not map to cp866 at c:3\test2.pl line 26.</div><div class="code_line">&quot;\x{00d1}&quot; does not map to cp866 at c:3\test2.pl line 26.</div><div class="code_line">&quot;\x{0081}&quot; does not map to cp866 at c:3\test2.pl line 26.</div><div class="code_line">&quot;\x{00d1}&quot; does not map to cp866 at c:3\test2.pl line 26.</div><div class="code_line">&quot;\x{0082}&quot; does not map to cp866 at c:3\test2.pl line 26.</div><div class="code_line">&quot;\x{00d1}&quot; does not map to cp866 at c:3\test2.pl line 26.</div><div class="code_line">&quot;\x{0080}&quot; does not map to cp866 at c:3\test2.pl line 26.</div><div class="code_line">&quot;\x{00d0}&quot; does not map to cp866 at c:3\test2.pl line 26.</div><div class="code_line">&quot;\x{00d1}&quot; does not map to cp866 at c:3\test2.pl line 26.</div><div class="code_line">&quot;\x{0082}&quot; does not map to cp866 at c:3\test2.pl line 26.</div><div class="code_line">&quot;\x{00d0}&quot; does not map to cp866 at c:3\test2.pl line 26.</div><div class="code_line">&quot;\x{00be}&quot; does not map to cp866 at c:3\test2.pl line 26.</div><div class="code_line">&quot;\x{00d1}&quot; does not map to cp866 at c:3\test2.pl line 26.</div><div class="code_line">&quot;\x{0080}&quot; does not map to cp866 at c:3\test2.pl line 26.</div><div class="code_line">$VAR1 = &#39;\x{00d0}\x{0090}\x{00d0}\x{00b4}\x{00d0}\x{00bc}\x{00d0}\x{00b8}\x{00d0</div><div class="code_line">}\x{00bd}\x{00d0}\x{00b8}\x{00d1}\x{0081}\x{00d1}\x{0082}\x{00d1}\x{0080}\x{00d0</div><div class="code_line">}°\x{00d1}\x{0082}\x{00d0}\x{00be}\x{00d1}\x{0080}&#39;;</div></ol></div></div></div></div><script>preloadCodeButtons('1');</script>]]></description>
        <author>worsvch</author>
        <category>Perl</category>
      </item>
	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=382464&amp;view=findpost&amp;p=3363471</guid>
        <pubDate>Sat, 12 Oct 2013 03:01:20 +0000</pubDate>
        <title>perl и psexec</title>
        <link>https://forum.sources.ru/index.php?showtopic=382464&amp;view=findpost&amp;p=3363471</link>
        <description><![CDATA[Vspeaker: В system будет передано &quot;psexec &#092;xx.xx.xx.xx ...&quot;,   если нужно &quot;&#092;&#092;xx.xx.xx.xx. ...&quot;, пришем &quot;&#092;&#092;&#092;&#092;xx.xx.xx.xx. ...&quot;  либо одинарные кавычки.]]></description>
        <author>Vspeaker</author>
        <category>Perl</category>
      </item>
	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=382464&amp;view=findpost&amp;p=3363451</guid>
        <pubDate>Fri, 11 Oct 2013 19:31:10 +0000</pubDate>
        <title>perl и psexec</title>
        <link>https://forum.sources.ru/index.php?showtopic=382464&amp;view=findpost&amp;p=3363451</link>
        <description><![CDATA[worsvch: Пишу скрипт на perl, в котором используется утилита psexec, то есть:<br>
<div class='tag-code'><span class='pre_code'></span><div class='code  code_collapsed ' title='Подсветка синтаксиса доступна зарегистрированным участникам Форума.' style=''><div><div><ol type="1"><div class="code_line">...</div><div class="code_line">use encoding &quot;utf8&quot;, STDOUT =&#62; &quot;cp866&quot;; </div><div class="code_line">...</div><div class="code_line">system(&quot;psexec \xx.xx.xx.xx -u Администратор -p passwd netstat -an&quot;);</div><div class="code_line">...</div></ol></div></div></div></div><br>
Но выходит ошибка, что имя пользователя или пароль не распознаны, при этом, если запускать psexec не из perl-програмки, а напрямую из виндовой консоли с теми же параметрами, то psexec отрабатывает без ошибок. Подскажите, что нужно подправить в perl-скрипте, чтобы он заработал]]></description>
        <author>worsvch</author>
        <category>Perl</category>
      </item>
	
      </channel>
      </rss>
	