When a user launches a 32 bit .Net application in a 64 bit environment, in the task manager it displays with a different name.
For example if my application name is
Shipnet.Shell.exe, in the task manager it displays
SH7910~1.exe*32. Due to this name change the TASKKILL command execution fails.
How can I get the correct name to use with TASKKILL?
We are having a legacy product developed in Centura Team Developer 4.2 (Gupta Sql Windows). From our legacy product we can invoke 32 bit .Net applications. My product is very huge and having hundreds of applications developed in Centura and .Net. User can launch multiple application from main menu (Centura and .Net). There is a Logout menu in main menu screen. When user click this menu our product close all Centura and .Net application. Centura takes care of it's own application in the closing process. We are using TASKKILL command to close all .Net applications launched from our product. This is working fine with Windows 32 bit environment. When we deploy the same in Windows 64 bit environment our product is not able to close the .Net applications. The reason is TASKKILL command not able to get the correct name of the application.