From 77b6459ffc89aedb75136bcac79440826ede47bd Mon Sep 17 00:00:00 2001 From: reksarka Date: Wed, 20 Sep 2023 21:00:01 +0300 Subject: [PATCH] FIX: downloading to a path on a different drive --- utils/download.bat | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/utils/download.bat b/utils/download.bat index 774de99..92c900c 100644 --- a/utils/download.bat +++ b/utils/download.bat @@ -26,8 +26,8 @@ if exist "%outfile%" ( rem Utility preset. call which which >NUL 2>&1 || set "PATH=%root%;%PATH%" -rem Creating intermediate dirs. -for %%i in ("%outfile%") do if not exist "%%~pi" md "%%~pi" +rem Ensure the %outfile% dir exists. +for %%i in ("%outfile%") do if not exist "%%~dpi" md "%%~dpi" rem Trying to download with: