i'm trying to make a loading bar batch file that opens a .exe (HDDLED.exe) file, but it will stay open until i close the .exe file, i have searched the internet but what i could find is this: start"" " , exit , tskill cmd.exe , and some other stuff, but it will not work, here's the code:
@echo off
color 0a
echo.
echo ---------------------------------------
echo = 0 ]
echo ---------------------------------------
ping localhost -n 1 >nul
cls
echo.
echo ---------------------------------------
echo [] = 5 ]
echo ---------------------------------------
ping localhost -n 1 >nul
cls
echo.
echo ---------------------------------------
echo [][] = 15 ]
echo ---------------------------------------
ping localhost -n 1 >nul
cls
echo.
echo ---------------------------------------
echo [][][] = 23 ]
echo ---------------------------------------
ping localhost -n 1 >nul
cls
echo.
echo ---------------------------------------
echo [][][][] = 30 ]
echo ---------------------------------------
ping localhost -n 1 >nul
cls
echo.
echo ---------------------------------------
echo [][][][][] = 38 ]
echo ---------------------------------------
ping localhost -n 1 >nul
cls
echo.
echo ---------------------------------------
echo [][][][][] = 42 ]
echo ---------------------------------------
ping localhost -n 1 >nul
cls
echo.
echo ---------------------------------------
echo [][][][][][] = 45 ]
echo ---------------------------------------
ping localhost -n 1 >nul
cls
echo.
echo ---------------------------------------
echo [][][][][][][] = 48 ]
echo ---------------------------------------
ping localhost -n 1 >nul
cls
echo.
echo ---------------------------------------
echo [][][][][][][][] = 50 ]
echo ---------------------------------------
ping localhost -n 1 >nul
cls
echo.
echo ---------------------------------------
echo [][][][][][][][][] = 56 ]
echo ---------------------------------------
ping localhost -n 1 >nul
cls
echo.
echo ---------------------------------------
echo [][][][][][][][][][] = 63 ]
echo ---------------------------------------
ping localhost -n 1 >nul
cls
echo.
echo ---------------------------------------
echo [][][][][][][][][][][] = 69 ]
echo ---------------------------------------
ping localhost -n 1 >nul
cls
echo.
echo ---------------------------------------
echo [][][][][][][][][][][][] = 75 ]
echo ---------------------------------------
ping localhost -n 1 >nul
cls
echo.
echo ---------------------------------------
echo [][][][][][][][][][][][][] = 79 ]
echo ---------------------------------------
ping localhost -n 1 >nul
cls
echo.
echo ---------------------------------------
echo [][][][][][][][][][][][][][] = 86 ]
echo ---------------------------------------
ping localhost -n 1 >nul
cls
echo.
echo ---------------------------------------
echo [][][][][][][][][][][][][][][] = 90 ]
echo ---------------------------------------
ping localhost -n 1 >nul
cls
echo.
echo ---------------------------------------
echo [][][][][][][][][][][][][][][] = 96 ]
echo ---------------------------------------
ping localhost -n 1 >nul
cls
echo.
echo Welcome to HDDLED...
echo ---------------------------------------
echo [][][][][][][][][][][][][][][][]= 100 ]
echo ---------------------------------------
ping localhost -n 2 >nul
pause
pushd %~dp0
HDDLED.exe
popd"
*insert exit code here*
And here's where i got the HDDLED.exe file.
ps, sorry for my bad english, i'm not a native speaker