cmd - How to log input and output of a batch file to a text file? -


i have created batch file 2000 lines of code , peroform various operations in daily work. batch file have give inputs enable/disable of operations. batch file ready , working fine.

but want have log file in coming on command window should logged, including inputs have given batch file , execution process.

is there way this? 1 of can me?

thanks in advance... nagaraju

you not telling how invoking batch file. try adding redirection command line (batchfile.bat > filename.log), although won't catch whatever type in input. could, however, change script print out input parameters caught in log file.


Comments

Popular posts from this blog

Eclipse formatter for java ending braces -

ruby - Nesting modules inside of a Rails eninge gem -

php - Why I am getting the Error "Commands out of sync; you can't run this command now" -