|yeah, like M2 said... why? give us a little background, you want us a' work a'for not'ing? we're curious as befits our field of endeavor... we don ask much...|
anyway... this *might* do what you want. it DOES create an executable on your system (a .com file), and if, (just for example), a person was trying to evade system scrutiny, I doubt if this would accomplish it unless security is mickey-mouse level.
:: the above just writes a simple screen-capture executable
:: called SCAP.COM and it writes to a file SCREEN.CAP
:: as usual, remove all the ECHO and PAUSE debugging/
:: testing, but i left them active so you could analyze output.
@echo off && setlocal enabledelayedexpansion
if exist scap.com goto alrdone
debug < scc.bat
for /f "tokens=* delims=" %%a in (screen.cap) do (
if "!cc!" neq "" (
echo data: [!cc!]
if /i "!ku!" equ "ip address." (
echo ********** IP !cc!
set /a mm+=1
if /i "!ku!" equ "subnet mask" (
echo ********** SUBNET !ku!
for /L %%b in (1 1 !mm!) do (
echo %%b ip address[!I1%%b!]
echo %%b subnet mask[!I2%%b!]
if !cc! equ "" goto :ex
if not defined cc goto :ex
if "!xx!" equ " " (
) else (
echo ABANDON HOPE ALL YE WHO ENTER HERE