Upgrade to Emacs 25 on Windows 64 bit

My old Emacs 24 is a 32 bit binary distribution which running on a 64 bit Windows(WIN8). In most cases, it runs very well, but it sporadically freeze when I have many files opened.

Typically it will looks like this in task manager when it happens

The CPU consumption will keep at 30% and the UI didn't respond. The only way out is to kill the process , well restart Emacs is definitely not a pleasant experience.

I don't know whats the reason, because it happens totally random. So I decide its time to upgrade to its best state.

I used to use Emacs 32 bit on Windows, but now I think 64 bit is better, and it may be one of the reasons that makes Emacs unstable. But the official site seems didn't provide it. There are only 32 bit version for Windows distribution.

The best place to get 64 bit Emacs for Windows is https://sourceforge.net/projects/emacsbinw64/

Installation is easy, uncompress everything to a folder C:\bin\emacs-25.0.93. I use a bat file to start emacs, now just comment out the old version and add the new version

 
tasklist /fi "imagename eq emacs.exe" | find /i "emacs.exe" > nul
if not errorlevel 1 (
rem %bindir%\emacs-24.4\bin\emacsclient.exe -n %* ) else (
rem %bindir%\emacs-24.4\bin\runemacs.exe %*
%bindir%\emacs-25.0.93\bin\emacsclient.exe -n %* ) else (
%bindir%\emacs-25.0.93\bin\runemacs.exe %*
 

I keep all my configuration files in a separated place, nothing needs to change or copy, everything are the same.

And this is how easy to upgrade to a new Emacs version on Windows 64 bit system.