I want a
.bat file which opens a command prompt and then set my default directory also set the enviromenet variable
For now I am manually openning command prompt and then setting my project directry path and then setting the environment variable.
I am using commands as :
open cmd.exe cd d:\Code set JAVA_HOME=C:\Jdk.1.6
I want that when I execute the batch file that execute the commant before openning. How to do that ?