why compicate things?
Make a bat file ip.bat and put in in a folder in your path (windows or so) with a shortcut on the desktop.
it will do exactly the same and more if you want to.
ip.bat
ipconfig/all | more
pause
exit
Marc If 'something' 'somewhere' gives 'some' error, expect random guesses or no replies at all. Please specify details.
Free Tip: The F1 Key does NOT destroy your PC!
Error in my note of May 5. More sense (?) :
doskey ip=ipconfig/all$t | more
doskey ip=ipconfig/all | $tmore
$t may be used to separate commands in a macro with multiple commands.
marcs41, with
doskey ip=ipconfig/all
in autoexec.bat, I can enter just "ip" instead of "ipconfig/all" at the DOS prompt and get the output of ipconfig. The problem is the output is 2 screenfulls. If I could use "more", I could see one screen at a time of the output.
Here are some of the other macros I use:
doskey cp=CD C:\Python22doskey cptk=cd C:\Python22\Tkinterdoskey cps=cd C:\Python22\Scriptsdoskey c=cd c:doskey up cd ..
doskey up2 cd .. $T cd ..
doskey dt=deltree c:\windows\tempdoskey e=exit
doskey p=ping $1
doskey t=tracert $1
doskey py=ping yahoo.com
doskey ty=tracert yahoo.com
doskey put=ping
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.