At a command prompt type either
systeminfo
echo %PROCESSOR_ARCHITECTURE%
All modern CPU's are 64 bit. If you can install 64 bit windows it is certainly 64 bit CPU...
As someone already mentioned here with a 32 bit OS you can only use 4GB max.
As far I know, this command does not work.
Of course both commands do work....the latter being an environment variable.
If you’re on 64-bit Windows
C:\>echo %PROCESSOR_ARCHITECTURE%
AMD64
If you run the 32-bit (x86) Command Prompt,
C:\>echo %PROCESSOR_ARCHITECTURE%
x86
If you open a 64-bit Command Prompt on 64-bit Windows...
C:\>echo %PROCESSOR_ARCHITECTURE%
x86
Also there is another environment variable
C:\>echo %PROCESSOR_ARCHITEW6432%
AMD64
But with a 32 bit command prompt you get different results.
Read MS documentation on these variables for further explanation.