I am aiming to create a batch file to place in user start menus. That will allow users to click and create a dialogue box that shows the IPv4 address of the computer they are using. This is needed because users are not able to access the command line as per policy restrictions. But they are still able to run batch files we place in their start menus.
So far I can use this command to get the IPv4 address: ipconfig | find /i "IPv4".
Also can use this command to get a dialogue box: msg %username% -text here-.
However, I am not able to get it to present the IPv4 in the dialogue box. Is there any way I can use the command line to present the IPv4 of a computer in a dialogue box?
Note: PowerShell has an absolute restriction so that is not an option.