It downloads Firefox 56.0.2 from the official Mozilla archive, extracts it, and creates a portable launcher with a custom profile folder — no installation required, fully self-contained.
if not exist "%FIREFOX_EXE%" ( echo ERROR: firefox.exe not found at %FIREFOX_EXE% pause exit /b 1 ) firefox portable 56
echo Profile dir: %PROFILE_PATH% "%FIREFOX_EXE%" -no-remote -profile "%PROFILE_PATH%" -new-instance It downloads Firefox 56
@echo off set "BASE=%~dp0" "%BASE%core\firefox.exe" -no-remote -profile "%BASE%profile" -new-instance This script gives you a fully portable, update‑disabled Firefox 56 ready for legacy extensions. firefox portable 56