1.

Solve : call bat file inside batch file.?

Answer»

I USED to do following flow in batch file

>> GO to abc PATH
>> call startup.bat
>> go to xyz
>> call makefile

startup.bat :
>> set the enviorment variables
>> go to xyz
>> call cmd.exe

But I faced one problem that enviorment is set but it doesnot run the makefile .

I do this with using batch file and perl script both.But the same issue comes in observed.
can any one hleps me out in this ?


I think the issue is comes because i call cmd.exe inside ALREADY opened command prompt.
but i have to call the cmd.exe (because i have to give the option if person direct clicks on the batch file (startup.bat) it should open the shell with the preset enviorment to work with).
In this case nesting of command prompt happens .

Now my issue is that
currentally I run makefile at perent cmd.exe while i have to run it on current instanse of cmd.exe (whether it is based or drived) .

So how can i do that, because it in write in base it runs after closing the drived and i dont WANT to write it into drive.
how can i run it in drive but call in base?



Discussion

No Comment Found