open function for win.
(use in future)