Subject: | execute tasklist.exe
| Date: | Mon, 22 Nov 2021 16:15:39 -0800
| From: | Peter <peterspammenot@whiteknight.email>
| Newsgroups: | pnews.paradox-programming
|
So frustrating I could spit.
Taskkill works just fine, it seems to me Tasklist should also but I just
can't get it to work
A simple test:
execute("Tasklist.exe >C:\\Tasks.txt", No, ExeShowNormal)
I've spent hours on this and all that happens is a cmd screen flash and
then nothing. Maybe it is just not creating the output file?
It does work from a command line (in cmd.exe)
I am hoping someone can see the problem, or confirm it is not possible
to do.
I know I can just run it from a bat file but I hate giving up. Thank you
for any tips.
Peter
|