why not prompt the user with set /p
I did this with some HP machines to read the AssetTag field fom the BIOS.
You should be able to replace newuserid
with your variable.
Test
Start a bat or cmd file.
@echo off set /p _MYVARIABLE= echo %_MYVARIABLE% pause
I found a reference to wmic and they discuss variables with this command. Link