batch file accept user input code example
Example 1: cmd get keyboard input
@echo off
set /p id="Enter ID: "
Example 2: batch input
SET /P variable=[promptString]
@echo off
set /p id="Enter ID: "
SET /P variable=[promptString]