Hi, I am trying to create an application that uses msg.exe to send messages over a network.When I execute msg from cmd everything works fine, but when I open cmd with a form that I can’t go to the system32 folder with cmd and the file does not appear there, but when I view or use cmd normally, it works and works
tested it on another computer and the application works fine by running 7 bits on this 1.
Here is an example of the code that I use to open cmd:
Process.Start("cmd");
I start as an administrator, I tried to execute it directly from msg.exe, and it seems that the problem of 64 bits works on all 32-bit systems, but not on any 64-bit
edit: ok I found that a problem when launching 64-bit 32-bit applications cannot run 64-bit applications in the 32 folder of the system. when you try to access this folder, it redirects you to% WinDir% \ SysWOW64 to work with this path. C: \ Windows \ Sysnative \ file (% windir% \ Sysnative)
source
share