windows - TaskList command hangs up while using in batch file -
I'm trying to use a tasklist.exe utility to search an operation using a batch script. I am Remote is running on the server I am using the following command When I try to execute the commands given above from the command prompt directly, it executes and returns the desired output please Regards Change your batch name to
tasklist / s 192.168.1.246 / u myusername / p mypassword / FI "IMAGENAME eq Oracle.EXE "& gt;
image Name PID Session Name Session # Mem Usage ======================================= ======== == ======================= oracle.exe 4988 console 0 5121392 < P> But when the same command is
tasklist.bat to
anothername.bat or
add .exe In not line of code:
tasklist.exe / s 192.168 ...
Comments
Post a Comment