How can i determine the version of the Windows SDK installed on my computer?

Matt picture Matt · Apr 19, 2010 · Viewed 80.3k times · Source

I've very recently decided to teach myself c++ and win32 programming after learning vb.net, and I've got a very simple question:

How can I determine what version of the Windows SDK is installed on my computer?

I'm asking so I can install the latest version if it isn't installed already, before I start playing around with c++. I'm using Microsoft Visual Studio 2008 SP1 as my IDE.

Answer

Richard picture Richard · Apr 19, 2010

On English locale at least:

dir "%ProgramFiles%\Microsoft SDKs\Windows"

should work. It is quite likely that there will be multiple versions installed, which is the right one for an one build can only be specified by that project.