How to log execution of batch file in a txt file

A

abhaybhat

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
 
I

Ian Collins

abhaybhat said:
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.
 
R

rahul

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,764
Messages
2,569,567
Members
45,041
Latest member
RomeoFarnh

Latest Threads

Top