Basically I just want the batch file to restart and resume the batch file script. (I'm using Bat to Exe converter, so some script is going to be changed) My script is on GitHub and is long, so I'm going to show the short version (actually the first code is just an example because PKA has Windows 8.1, 10, and 11, and all the editions):
pause
start "" "%~dp0PKA_files\bin\activatefiles\exe\w11\pro11.exe
cls
goto restart
(a lot of code goes here)
:restart
exit
start "Product Key Activator" "%~dp0PKA64.bat"
goto pryc
The resume point code will be goto pryc
.