How to find Java Programs started by batch file in Windows Process Explorer.
- Download and unzip Windows Process Explorer from this site: https://technet.microsoft.com/en-us/sysinternals/bb896653.aspx into a chosen directory.
- You can invoke Windows Process Explorer through the command prompt. Type procexp in the directory where you unzip the Process Explorer. Here’s what it looks like:
- Find cmd.exe. There will be one per task you started by batch file. Use View->Show Process Tree to find the ones associated with java.exe. Double click the cmd.exe line. The property box will pop up. Look at the current directory. This will tell you where the original program was invoked.