running an application using command prompt
-
HI. I am running my application using command prompt. like C:\> D:\App.exe after launching this Application the command prompt come back to prompt again like C:\> does it means that application has been ended . but the appliccation is still running then how can I come to know that application is still running using command prompt thanks Regards.
-
HI. I am running my application using command prompt. like C:\> D:\App.exe after launching this Application the command prompt come back to prompt again like C:\> does it means that application has been ended . but the appliccation is still running then how can I come to know that application is still running using command prompt thanks Regards.
when you type : c:\ D:\App.exe and comes back to c:\ it will happen ...Here you are not changing the drive to access but just specifying the path of your exe. Your exe will start as a new process ....so you have to eplicitly terminate your application Cheers "Peace of mind through Technology"
-
when you type : c:\ D:\App.exe and comes back to c:\ it will happen ...Here you are not changing the drive to access but just specifying the path of your exe. Your exe will start as a new process ....so you have to eplicitly terminate your application Cheers "Peace of mind through Technology"
OK, Thanks. But I have one more question that when we run Format command or some other command on Comand prompt, then why these comand are not run as new process. they usualy run in same command prompt and will not free the prompt until the command execution ends Regards.
-
OK, Thanks. But I have one more question that when we run Format command or some other command on Comand prompt, then why these comand are not run as new process. they usualy run in same command prompt and will not free the prompt until the command execution ends Regards.
-
HI. I am running my application using command prompt. like C:\> D:\App.exe after launching this Application the command prompt come back to prompt again like C:\> does it means that application has been ended . but the appliccation is still running then how can I come to know that application is still running using command prompt thanks Regards.
zahid_ash wrote:
HI. I am running my application using command prompt. like C:\> D:\App.exe after launching this Application the command prompt come back to prompt again like C:\> does it means that application has been ended . but the appliccation is still running then how can I come to know that application is still running using command prompt
if the application is Command prompt based then it runs fine... but if it is windows based then application chooses the windows platform to run and application's info enters into windows enviornment not into DOS environment even it run from command prompt. if you want to check the application running state then you have to check into running processes by enumarating processes or any other way. Knock out 't' from can't, You can if you think you can :cool: