Hi,
I'm having trouble to execute dig.exe via ASP page
dig.exe is a utility, which provide domain name (whois) lookup .
for more detial:
http://members.shaw.ca/nicholas.fong/dig/
here is my code
Code:
<%
Dim wshell, intRetun
set wshell = server.CreateObject("wscript.shell")
intRetun = wshell.Run("%comspec% /c dig > c:\dig\dig.txt",0,true)
Response.Write (intRetun)
set wshell = nothing %>
It doesn't return any error.
If I run any other command via ASP that is running fine. If i run
dig command from command prompt that is also fine.
could you help me out
thanks
Farooq