Have you ever wondered how to get the DNS domain of the machine from a Windows batch file? Well, I needed it and after some investigation I found the USERDNSDOMAIN environment variable and I was happy. echo %USERDNSDOMAIN% Until yesterday, when I found
Read More...