From ced1587aa48dd9fa2151b9e06717f2dcce81528e Mon Sep 17 00:00:00 2001 From: Jiri Malak Date: Mon, 23 Dec 2024 23:28:49 +0100 Subject: [PATCH] build: modify echoto.bat to check arguments overflow --- utils/echoto.bat | 2 ++ 1 file changed, 2 insertions(+) diff --git a/utils/echoto.bat b/utils/echoto.bat index d792a4c0..958895fc 100644 --- a/utils/echoto.bat +++ b/utils/echoto.bat @@ -1,4 +1,6 @@ @echo off if "%2%3%4%5%6%7%8%9" == "" goto nothing echo %2 %3 %4 %5 %6 %7 %8 %9 >>%1 +shift +if not "%9" == "" echo echoto.bat arguments overflow :nothing