SystemXFolder

The installer sets this variable to the full path of the System folder for the native executables of the target system: the 32-bit System folder on 32-bit systems or the 64-bit System folder on 64-bit systems.

The following table shows the typical folder paths for the various System folder variables on different Windows versions.

Folder name Variable Windows 95/98/Me Windows NT4 32-bit Windows 2000 and later 64-bit Windows
System (32-bit) SystemFolder C:\Windows\System C:\WinNT\System32 C:\Windows\System32 C:\Windows\SysWow64
System (64-bit) System64Folder C:\Windows\System64* C:\WinNT\System64* C:\Windows\System64* C:\Windows\System32
System (native) SystemXFolder C:\Windows\System C:\WinNT\System32 C:\Windows\System32 C:\Windows\System32

*There is no 64-bit System folder on 32-bit systems. However, if you do install files in the System (64-bit) folder on a 32-bit target system, then the installer will create a System64 folder on the target system to install the files into.

Usage

You can refer to this variable as <SystemXFolder>. Do not change its value; it has been carefully configured for cross-platform compatibility.

You should use <SystemXFolder> as part of file or folder paths if you want to use the native version of the executable. For example, <SystemXFolder>\notepad.exe will always refer to the native version of Notepad; likewise, <SystemXFolder>\cmd.exe is the native version of the Windows command interpreter.

Related topics

Standard folders, SystemFolder, System64Folder