inspect_get_windows_systemroot


Description:

[ Version ( since = "1.5.25" ) ]
public string inspect_get_windows_systemroot (string root) throws Error

get Windows systemroot of inspected operating system

This returns the Windows systemroot of the inspected guest. The systemroot is a directory path such as /WINDOWS.

This call assumes that the guest is Windows and that the systemroot could be determined by inspection. If this is not the case then an error is returned.

Please read "INSPECTION" in guestfs(3) for more details.

Parameters:

this

A GuestfsSession object

Returns:

the returned string, or NULL on error