Possible Duplicate:
Several ways to call a windows batch file from another one or from prompt. Which one in which case?
The whole process is like this without using batch file:
Change directory to
c:\ris
.Start a batch file
c:\python26\env\scripts\activate.bat
. This then starts some kind of python console, prompt changes to(env) c:\ris
.- Here I run command
paster serve --reload development.ini
.
I have done step 1 and 2 but cannot co step 3. When I run my batch file (mapfishstart.bat
) I can open new console of activate.bat
but cannot automatically pass the command to activate.bat
(I have to type it in and want it to be automatic). I would not prefer any changes to activate.bat
file.
Can anyone help to automate 3rd process?