Windows Batch script snippets
How to know the computer name
You just have to copy the following code and past into Notepad, then save with .cmd extension and execute it.
msg %username% "My computer is called' %computername%"
You just have to copy the following code and past into Notepad, then save with .cmd extension and execute it.
msg %username% "My computer is called' %computername%"