I am using the following code to try and retrieve information from the Windows Task Manager:
Runtime.getRuntime().exec("tasklist /v /fi");
When I enter "tasklist /v /fi" into windows CMD it works, but in java it gives me the error that the file path could not be found.