我正在尝试将单选按钮值插入db但是我该怎么做?
::: Call your batch files with a unique parameter for each thread (e.g. "prog.bat 1")
set id=%%1
::: Alternatively if you're starting each thread at a different time:
:: set id=%random%
:: Later in the batch file when you're writing a file
echo %random%%id%
:: ^ a unique random number for each thread