Results 1 to 3 of 3

Thread: how to Log Running processes to a Text File?

  1. #1
    Join Date
    May 2008
    Posts
    4,570

    question how to Log Running processes to a Text File?

    Hi guys, I'm so much curious about know this! is there a way through which i can log task manager's process in a text file? My friend had this software, or may be a self-programmed file [he is a programmer] through which he used to do this...! basically its of no use to me, but just in case if i wanna know which all processes are running on my computer. i can view it with the help of this tool or software. Help guys!

  2. #2
    Join Date
    Apr 2008
    Posts
    4,088

    Re: how to Log Running processes to a Text File?

    Yes you can do that with a small batch program. here is the code :
    Code:
    @ECHO OFF
    set tempfile=abc.txt        \\ Give the text file name to save the process list.
    del %tempfile%               \\ Empty the file if already exists.
    tasklist > %tempfile%       \\ Save the task list in the text file.
    exit                               \\Exit
    Paste the above code in notepad and save the file as taskrecord.bat
    You can give any name to the file but don't change the extention.
    and make sure to remove the comments from the code. Batch file doesn't support the \\comments portion.
    Have fun...! Happy Recording!!

  3. #3
    Join Date
    Aug 2008
    Posts
    990

    Re: how to Log Running processes to a Text File?

    Hey thanks a lot for asking this question
    I really wanted to know the answer for this.
    I an going to create the batch file & lets see if I can get the processes in the notepad.
    Thanks again!

Similar Threads

  1. How to decrease number of processes running in windows 7
    By Sheridan^OS in forum Networking & Security
    Replies: 4
    Last Post: 13-12-2010, 03:42 PM
  2. How many processes do you have running
    By Langward in forum Overclocking & Computer Modification
    Replies: 4
    Last Post: 21-03-2010, 01:38 AM
  3. VB code to kill running processes
    By Banjiji in forum Software Development
    Replies: 2
    Last Post: 03-09-2009, 04:58 PM
  4. Show All Running Processes in mac os x
    By chaosblade in forum Operating Systems
    Replies: 3
    Last Post: 26-08-2009, 08:49 AM
  5. how to reduce the running processes
    By Chad Gross in forum Windows XP Support
    Replies: 2
    Last Post: 31-08-2005, 08:25 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,714,093,135.89712 seconds with 17 queries