title: Run windows cmd command from sqlplus
body: <p>I am from linux background and new to windows. I have installed oracle database in windows. I use sqlplus to connect to the oracle database from cmd. In linux , we can use exclamatory '!' to type shell commands from sqlplus. Is there any way to run cmd commands from sqlplus in windows ?</p>
  <p><strong>Command:</strong></p>
  <p><strong>In windows:</strong></p>
  <pre><code>SQL&gt; !dir
  SP2-0042: unknown command &quot;!dir&quot; - rest of line ignored.
  </code></pre>
  <p><strong>In linux:</strong></p>
  <pre><code>SQL&gt; !echo $ORACLE_SID
  orcl
  </code></pre>