Remove unused var, quote output var

This commit is contained in:
2024-11-17 14:03:30 +01:00
parent 51edab308c
commit 0027cf05e5

View File

@@ -12,8 +12,7 @@ SETLOCAL ENABLEDELAYEDEXPANSION
:: Storing Paths
SET input="%~1"
SET vid="%~dpnx1"
SET output=%~dpn1
SET FILEPATH=%~dp1
SET output="%~dpn1"
:: Setting the path to the Working Directory
SET WD=%TEMP%\VID2ANI
@@ -51,7 +50,7 @@ IF NOT "%~1" =="" (
IF "%~1" =="-d" SET "dither=%~2" & SHIFT
IF "%~1" =="-b" SET "bayerscale=%~2" & SHIFT
IF "%~1" =="-t" SET "filetype=%~2" & SHIFT
IF "%~1" =="-o" SET "output=%~dpnx2" & SHIFT
IF "%~1" =="-o" SET "output=%~dpn2" & SHIFT
IF "%~1" =="-s" SET "start_time=%~2" & SHIFT
IF "%~1" =="-e" SET "end_time=%~2" & SHIFT
IF "%~1" =="-c" SET "colormax=%~2" & SHIFT