BugFix : relative filename causes crash in cmd window

use GetFullPath on the argument to convert relative path to absolute
pat. It prevents a lot of troubles afterward.