Originally posted by MyPillowTalks:
how come when i type tasklist /m > tasklist.txt , nothing happen, the command prompt never say anything
Because I never get it to start Notepad.

You can locate the file in C:\Documents and Settings\username\tasklist.txt
If you want it to start, write this batch file instead:
tasklist /m > tasklist.txt
start notepad tasklist.txt
del tasklist.txt
Save it as tasklist.bat
Set the File type to All Files
Double click to run it.
For those curious, here's an explanation of the commands:
tasklist /m > tasklist.txt

This will call upon the tasklist program. Using the /m switch, it will show all modules loaded with a particular process. This will then output to a file called tasklist.txt
start notepad tasklist.txt

Tells Windows to Start Notepad immediately once the tasklist program has finished listing everything.
del tasklist.txt

This will delete tasklist.txt file after you close Notepad.