CODE: [Copy to clipboard]for /f "delims=" %a in ("C:\Program Files\Thunder Network\Thunder\Thunder.exe") do echo %~dpa