Tell us about yourself!
Here are the issues you might be facing: The batch file is not in the directory that is open in cmd. The batch file has a different name.
Try running the batch file from cmd. The error mesage will show up and you can fix it accordingly.For example:This batch file has an error:@echo offIf %1 == goto noEcho %1 & exit /b:noEcho No arguments! & exit /bIf you run it from cmd with arguments:F:\> test.bat TestTestIf you run it from cmd without arguments:F:\> test.batgoto was unexpected at this time.Hope this was useful for you!
Prof. Pickle I would like to see a tool where you would feed it info from cmd, and from that info it can hash a specified file
There's a problem in your for loop.FOR /L %%G IN (1,1,1,5) DO call :loadShould be:FOR /L %%G IN (1,1,5) DO call :load
Open cmd, type choice /?. Then follow the instructions. For example:@echo offChoice /c 1234 /n /m "Press 1, 2, 3."If %errorlevel% EQU 0 goto pressed1If %errorlevel% EQU 1 goto pressed2If %errorlevel% EQU 2 goto pressed3:pressed1Echo You Pressed 1.Pause >nulExit /b;pressed2Echo You Pressed 2.Pause >nulExit /b;pressed3Echo You Pressed 3.Pause >nulExit /b