@echo off IF [%1]==[] goto end %~d0 cd "%~dp0" if exist profiles goto continue mkdir profiles goto continue :continue if exist "profiles\%~n1_inis" goto start xcopy inis "profiles\%~n1_inis" /E /I /Q goto start :start pcsx2.exe --cfgpath="profiles\%~n1_inis" %* :end