View Full Version : How do I make a script to show my ipconfig??
salsaholik
05-03-2004, 07:37 AM
I want to create a script where i can execute it and show the ipconfiguration of a computer? how to do it?
PhilEnfield
05-03-2004, 09:22 AM
If you just want to find out your IP Address :
IN XP from a Command Prompt, just type ... ipconfig
salsaholik
05-03-2004, 09:29 AM
Yeah mate, But I want it on a script file, where I can go to any computer and instead of typing it , just execute that file, I want to know if it's possible to do it?
QWERTY
05-03-2004, 10:23 AM
Write a batch-file with the command IPCONFIG in it.
GooseTickler
05-03-2004, 11:10 AM
1. open a notepad file
2. type IPCONFIG
3. save as "whatever.bat" makesure the file type is set to "all types" as notepad has the annoying habit of adding .txt to each file (i.e it would be whatever.bat.txt which is incorrect)
4. when u double click it. it should show you IPCONFIG in the command prompt box
:D
nimbles
05-03-2004, 11:18 AM
actually paste this in a text file
ipconfig
pause
save it as a .bat file as goosetickler said and you're done
could use ipconifg/all as well for more info
without the pause the cmd screen will just shut down straight away
PhilEnfield
05-03-2004, 11:37 AM
http://www.philharrington.pwp.blueyonder.co.uk/IPSHOW.JPG
Yup .... that will do nicely .... should give you this :
salsaholik
05-03-2004, 11:46 AM
You guys Are the best, I did create a Batch file and got the results I want it, Pretty cool, Thanks a million!!
vBulletin® v3.7.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.