468,119 Members | 1,878 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,119 developers. It's quick & easy.

How to log execution of batch file in a txt file

I run a batch file, which is nothing but a make file of my project. It
also does linting for me.

Hence the execution of the batch file in the DOS window can be seen,
which is very huge(i have around 2000 .c files in the project)

Here i need to log the execution of the batch file in a .txt file so
that i can analyse the details of the execution.

The execution is so huge that i loose most of the execution-data from
the dos screen, and a small portion is available.

Thanks,

Abhay
Jun 27 '08 #1
2 2238
abhaybhat wrote:
I run a batch file, which is nothing but a make file of my project. It
also does linting for me.

Hence the execution of the batch file in the DOS window can be seen,
which is very huge(i have around 2000 .c files in the project)
You'd better ask in a windows or DOS group.

--
Ian Collins.
Jun 27 '08 #2
On Jun 11, 9:30 am, abhaybhat <abha...@gmail.comwrote:
I run a batch file, which is nothing but a make file of my project. It
also does linting for me.

Hence the execution of the batch file in the DOS window can be seen,
which is very huge(i have around 2000 .c files in the project)

Here i need to log the execution of the batch file in a .txt file so
that i can analyse the details of the execution.

The execution is so huge that i loose most of the execution-data from
the dos screen, and a small portion is available.

Thanks,

Abhay
May be you should try output re-direction.
C:\batch.bat log.txt

Anyways, this question does not belong here.
Jun 27 '08 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by brianbasquille | last post: by
3 posts views Thread by hughie | last post: by
4 posts views Thread by G. Miller | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.