[win] unicode support in cmd, and auto open pdf after compiling

feature: auto close opened pdf before compiling