Page 1 of 1

How to write the output to the log file?

Posted: 15 Feb 2019 10:56
by lalat06bag
Hi,

I am running the below piece of code and want to write the output to the log file. please help.

forfiles /s /m *.* /c "cmd /c Del /q /s @path" /d -90

Thanks!

Re: How to write the output to the log file?

Posted: 15 Feb 2019 12:32
by Squashman