New answers tagged command-line-arguments
You may need to change "UNIQUE" to the local equivalent in the output. @echo off set PREFIX=127.0.0 setlocal enabledelayedexpansion for /l %%i in (1,1,254) do ( nbtstat -a %PREFIX%.%%i > %TEMP%\info.txt for /F "tokens=4" %%a in ('findstr "MAC" %TEMP%\info.txt') do set MAC=%%a for /F "tokens=1" %%a in ('findstr /R /C:"<00> UNIQUE " ...
Open Textpad Help Topics -> Command Parameters The specific switch you are looking for is likely: -u filepath
Top 50 recent answers are included