Help Creating A Batch File

October 8, 2010 at 04:03:10
Specs: Windows XP
Is it possible to set-up a small batch file, which will run this command: nbtstat -a
But allow the user to then enter the ip address after the line.
Then when they press enter run the command?

See More: Help Creating A Batch File

Report •

#1
October 8, 2010 at 10:31:31
This should get you where you want to be :)

@echo off
:top
cls
set /p IP=Please enter the IP address to lookup:
nbtstat -a %IP%
Echo.
Pause
GOTO top


Report •
Related Solutions


Ask Question