I make this .BAT for crt/dsk-prg-tap files, it work!!!
@echo off
SETLOCAL enableextensions disabledelayedexpansion
ECHO Iniciando emulador C64 +-------------
ECHO Juego: %1
SET var=%1
SET searchVal=.crt
SET var|FINDSTR /b "var="|FINDSTR /i %searchVal% >nul
REM IF ERRORLEVEL 1 (echo It does't contain crt) ELSE (echo It contains .crt)
REM http://stackoverflow.com/questions/17602659/batch-file-find-if-substring-is-in-string-not-in-a-file-part-2-using-variab
IF ERRORLEVEL 1 ( GOTO normal ) ELSE ( GOTO cartridge )
:cartridge
ECHO Cartucho
D:\juegos\Commodore\C64\WinVICE/x64.exe -cartcrt %1 +confirmexit -fullscreen -autostart-warp
goto end
:normal
D:\juegos\Commodore\C64\WinVICE/x64.exe -autostart %1 +confirmexit -fullscreen -autostart-warp
:end
ENDLOCAL