Go Back   TechArena Community > Software > Windows Software
Become a Member!
Forgot your username/password?
Tags Active Topics RSS Search Mark Forums Read

Reply
 
Thread Tools Search this Thread
  #1  
Old 28-01-2009
Member
 
Join Date: May 2008
Posts: 4,565
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!
Reply With Quote
  #2  
Old 28-01-2009
Member
 
Join Date: Apr 2008
Posts: 4,086
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!!
Reply With Quote
  #3  
Old 28-01-2009
Member
 
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!
Reply With Quote
Reply

  TechArena Community > Software > Windows Software
Tags: ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


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


All times are GMT +5.5. The time now is 04:33 PM.