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

linux - Does gcc have any options to add version info in ELF binary file? -

android - send complex objects as post php java -

charts - What graph/dashboard product is facebook using in Dashboard: PUE & WUE -