Jump to content

Tasklist to TXT file


omardj38
 Share

Recommended Posts

Hi. I searched over the forums but i didn't find any help, so here my problem:

I want to create a script that save in a simple TXT file all results of the DOS command TASKLIST. How can i do that? I know how to run tasklist but i don't know how to save that data in a txt file.

Any suggestions?

have a nice day

Link to comment
Share on other sites

Hi. I searched over the forums but i didn't find any help, so here my problem:

I want to create a script that save in a simple TXT file all results of the DOS command TASKLIST. How can i do that? I know how to run tasklist but i don't know how to save that data in a txt file.

Any suggestions?

have a nice day

hi,

just run tasklist >c:\tasklist.txt; this creates new file tasklist.txt. if you use tasklist >>c:\tasklist.txt the output will append to existing file, otherwise it creates a new file.

;-))

Stefan

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...