Setting up batch file to run on command line, setting up shop
<p>I just installed the into the defaulta location C:\Program Files and wanted a batch file to start when I start a new cmd in Windows XP.  My batch file is:</p>

<pre><code>@echo off
SET TOOLS_HOME=%ProgramFiles%\Java
SET JAVA_HOME=%TOOLS_HOME%\jdk1.6.0_21
SET PATH=%JAVA_HOME%\BIN;%PATH%
SET CLASSPATH=.;
</code></pre>

<p>This file is in Program Files\Java\jdk1.6.0_21\bin</p>

<p>From there, I created a shortcut for my cmd-line, and I used the /k in target so that looks like:</p>

<pre><code>%SystemRoot%\system32\cmd.exe /k %ProgramFiles%\Java\jdk1.6.0_21\bin\setenv.bat
</code></pre>

<p>And my Start in: is %HOMEDRIVE%</p>

<p>When I then start my command prompt, I get 'c:\Program\ is not recognized as an internal or external command, operable program or batch file.  Is my batch file correct?  Or is my Target/Start in incorrect?  Thanks.</p>
