Why are you doing System type stuff using Java? It is not designed for it. If you want a command line command to get the "application" list that appears in TaskManager, then why are you asking in a Java forum? Ask in some Windows forum somewhere.
And don't cross-post. You have posted this same non-Java question (with this nominal Java code in the JSP forum as well, where it is even more out of place than it is here).
Reputation Points: 1471
Solved Threads: 490
Industrious Poster
Offline 4,043 posts
since Feb 2006