Click here to Skip to main content
15,890,123 members
Please Sign up or sign in to vote.
3.00/5 (1 vote)
See more:
Hi Everyone,

I want to know How I can able to put a condition wherein if I execute my batch file all the running process/output should have in seen the console window and keeping it save to my logfile (while executing).
Actually, I tried to use the ">>" to save the output and it really works, however, I cannot able to see the running output in console window.. I want to see both..

Thanks in advance
Posted

1 solution

Well you can try below approach to see whether it works for you

create CombinedBatchFile.bat and save below two lines in it
call yourBatchFile.bat > dump.txt
type dump.txt


And run CombinedBatchFile.bat. Though this wont be in real time but should serve your purpose.
 
Share this answer
 
Comments
Miaka_1502 21-May-14 3:51am    
thank you very much for your help..

But is there other way to run both at the same time.... It would be okay if both are running in real time..

thanks again.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900