.. highlightlang:: us .. index:: GetWindowsDirectory .. _getwindowsdirectory: GetWindowsDirectory =================== .. us.tag GetWindowsDirectory ENGLISH FILE_MISC :ref:`GetWindowsDirectory` returns the name of the Windows directory .. function:: ssWindowsDir = GetWindowsDirectory() .. us.return **Return Value** *ssWindowsDir* is a string containing the path of the Windows directory. .. us.example **Example** :: * GetWindowsDirectory() c:\WINNT .. seealso:: :ref:`overview-files`, :ref:`GetRootDirectory`, :ref:`GetTempPath` :sub:`id-201631`