omardj38 Posted December 16, 2008 Posted December 16, 2008 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
99ojo Posted December 16, 2008 Posted December 16, 2008 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 dayhi,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
omardj38 Posted December 16, 2008 Author Posted December 16, 2008 upppss.....i found my answer in google.........i only need to do this: $rc = _RunDOS ("TASKLIST >List.txt")
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now