How to get a process ID automaticly with command prompt?