<?xml version="1.0" encoding="windows-1252"?>
<node id="994251" title="How to execute windows dos command using perl and how to login to another windows machine and execute dos command in that" created="2012-09-18 06:22:19" updated="2012-09-18 06:22:19">
<type id="115">
perlquestion</type>
<author id="936121">
Divakar</author>
<data>
<field name="doctext">
&lt;p&gt;Hi Monks,&lt;/p&gt;

&lt;p&gt;i need to write a perl script which will execute dos commands in same machine as well as in other windows machine.&lt;/p&gt;

&lt;p&gt;so below are my requirements.&lt;/p&gt;

&lt;p&gt;how to execute dos commands in windows machine using perl?&lt;/p&gt;

&lt;code&gt;e.g., rd /s/q &lt;directory&gt;&lt;/code&gt;

&lt;p&gt;how to login to another windows machine and execute dos commands in that?&lt;/p&gt;

&lt;p&gt;Any modules or any other way. &lt;/p&gt;

&lt;p&gt;Please help.&lt;/p&gt;

&lt;p&gt;Thank you...&lt;/p&gt;</field>
</data>
</node>
