Code: Select all
@echo off
cls
Title ImgBurn portable launcher
IF "%~x1" == "" (start /D "%~dp0App" ImgBurn.exe /portable) ELSE (start /D "%~dp0App" ImgBurn.exe /portable /mode write /src "%~f1")
You can replace the word "App" the two times it happens in the above script with your own folder name, or remove it entirely if you want to keep the .bat in the same folder as ImgBurn.)