L
Larry Dighera
Can you get this batch file to work? Put the text below in a file
named NSLOOKUP.BAT, and run it from a command prompt.
set /p userin=Enter IP address:
nslookup %userin%
pause
For some reason it loops back to the beginning and fails to display
the output from nslookup.exe. I've verified that the keyboard input
is being passed to nslookup.exe, but it's not clear that nslookup is
being executed. Clearly the pause statement is not.
This should be easy. I must be overlooking something simple.
OS: MS WindowsXP Home Edition.
(Please don't tell me this is not necessary because nslookup.exe
supports interactive use. It's become more important to make it work
than to actually use it.)
ADVthanksANCE
named NSLOOKUP.BAT, and run it from a command prompt.
set /p userin=Enter IP address:
nslookup %userin%
pause
For some reason it loops back to the beginning and fails to display
the output from nslookup.exe. I've verified that the keyboard input
is being passed to nslookup.exe, but it's not clear that nslookup is
being executed. Clearly the pause statement is not.
This should be easy. I must be overlooking something simple.
OS: MS WindowsXP Home Edition.
(Please don't tell me this is not necessary because nslookup.exe
supports interactive use. It's become more important to make it work
than to actually use it.)
ADVthanksANCE