Set /p is used to create a "variable", for example:
set /p example={Enter text here}
Then the user would have to type something and you could use the text that they entered to make something, for example:
echo %example%
Or:
if '%example%'=='{any number}' {any command}