开发者

nbtstat in c++ not running

In my visual c++ code; with _popen() or system(), I ran 'nbtstat', it runs perfectly in win7 but when I run my executable in windows server 开发者_JS百科2008, it says:

'nbtstat' is not recognized as an internal or external command, operable program or batch file.

(I have nbtstat in my windows server 2008, I can run it from cmd or run.)

How can I solve this problem?

Thanks in advance..


http://social.technet.microsoft.com/Forums/en-US/windowsserver2008r2networking/thread/0cbfaf51-8fa5-46b1-afb4-e87bceca82f7/

In this article it is explained that windows auto-redirects you to SysWOW64 but nbtstat is in system32 so using "Wow64DisableWow64FsRedirection" I solved my problem.

Good day to you.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜