Resolve path to batch file directory