Nope. I understood the issue. And we still need to know the name of the program and what it does to try and provide you an answer. Did you have the same error when you ran the CMD prompt in Administrative Mode?? Many programs do not allow command line launches and switch options with Win8.1/Win10 as a 16-bit process. So, if you have a graphics program on an online Game, and you are trying to launch it in Protected Mode (that's what you do when you open a CMD prompt window; also called DOS mode), those programs aren't allowed access by the Windows HAL kernel in 16-bit mode UNLESS you attempt to access it in 16-bit Protected Mode. Many older Graphics and Games do not support 16-bit Protected Mode, so you have to force Windows to run that mode; and even then if their Windows .dll version which you normally launch from the Start Menu works, that doesn't mean the CMD version can or will work on the new Win8.x/10 version Protected Mode version.
Just because your Start menu version of the program runs in Standard Mode on Win10 doesn't mean it's Win8.x/10 compatible. That was a question that would require you to look at the box the program came in or the website you downloaded it from. The DNS error probably has to do with switches you are entering in the CMD prompt mode that need to communicate with the server that Program authenticates to or with, and is not able to do so from a Protected Mode 16-bit window. Again, try your Commands from a CMD window using Administrator Mode (right-click). If they still do not work, then that program most likely was never upgraded properly by the author for Win8.x/10 as I indicated. The fact remains that just because you THINK it's working, doesn't mean it's completely compatible or tested for Win8.x/10 environment.
<<<BBJ>>>