Create a batch file to execute tasklist and append its output to log.txt

Posted on

Problem :

I’m trying to create a batch file to execute tasklist every 3 minutes and log it into log.txt.
I’m very new to batch files and would like to know where I’ve gone wrong in my batch file.

@echo off
set "CURRENT_DIR=C:Documents and SettingsAdministratorMy DocumentsDownloads"

Solution :

Leave a Reply

Your email address will not be published. Required fields are marked *