Page 1 of 1

FreeCommanderXE and cmd.exe 64 Bit

Posted: 29.04.2013, 14:21
by Mr-Fly
Hi.

It would be great to have an option to always start the 64bit edition of cmd.exe.
This can be done by calling: %windir%\sysnative\cmd.exe (a virtual path, only usable from 32bit applications!)
Here is the appropriate MS-Article:
http://msdn.microsoft.com/en-us/library/aa384187.aspx

Why does it make sense?
Environment Variables are highly different in 64bit / 32bit cmd:
32bit:
ProgramFiles=C:\Program Files (x86)
ProgramFiles(x86)=C:\Program Files (x86)
ProgramW6432=C:\Program Files
64bit:
ProgramFiles=C:\Program Files
ProgramFiles(x86)=C:\Program Files (x86)
ProgramW6432=C:\Program Files

This also would make sense for other application launchs.
Maybe the parameter for configuring the wow64 can also help on programming basis.

Regards
Thorsten