windows: extract a variable