If you want to put that information into a text file, type this:
tasklist > C:\task.txt
where C is the drive you want the text file to be, and task.txt is the name. The above command will output all the active tasks into a text file named text.txt saved in the root of C:.