title: my.bat not recognized as an internal or external command, operable program or batch file
body: <p>When I logon to this Windows 2008 R2 Server and launch a CMD window, the default directory is:</p>
  
  <pre><code>C:\Users\SVC_asl2trim&gt;
  </code></pre>
  
  <p>So I added this to the PATH and then I issued:</p>
  
  <pre><code>C:\Users\SVC_asl2trim&gt;set path
  Path=C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32
  \WindowsPowerShell\v1.0\;D:\Program Files\Hewlett-Packard\HP TRIM\;C:\Users\SVC_
  asl2trim\
  PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
  
  C:\Users\SVC_asl2trim&gt;
  </code></pre>
  
  <p>I have a small .bat file in that directory above but I keep getting:</p>
  
  <p><strong>my.bat not recognized as an internal or external command, operable program or batch file</strong></p>
  
  <p>This is maddening. I do this so infrequently .... I know there is some trick I am forgetting.</p>