Returns the path of the folder in which Windows is installed.
Get_Windows_Directory to {variable}
where:
{variable} is a String variable that after execution of this command will contain the path of the Windows folder.
Get_Windows_Directory returns the entire path (starting with the logical drive identifier) to where Windows is installed. This is useful for finding Dynamic Link Libraries, initialization files, bitmaps, and other files, which are typically installed in or below the Windows folder.
String sFolder
// Retrieve the folder where Windows is installed.
Get_Windows_Directory to sFolder
Send Info_Box sFolder "Windows Folder"