I want to run the following in a batch file and prompt the user to enter "NewUserID", then insert it as a variable. Can this be done with WMI?
wmic useraccount where name='user'call rename name='NewUserID'
why not prompt the user with
You should be able to replace
Start a bat or cmd file.
I found a reference to wmic and they discuss variables with this command. Link