getting a ip

If you have questions about any aspect of QBasic programming, or would like to help fellow programmers solve their problems, check out this board!

Moderators: Pete, Mods

Post Reply
Killer
Newbie
Posts: 8
Joined: Sun Oct 10, 2004 7:07 am

getting a ip

Post by Killer »

what file(s) do i have to open to get the ip? of a pc
=D
Killer
Newbie
Posts: 8
Joined: Sun Oct 10, 2004 7:07 am

Post by Killer »

for some reson that winipcfg dosent work for me , but what i wnated was to get a ip useing a program if u get me? a program that finds your ip adn stores it wether it be mine or anyones elses
=D
potato
Newbie
Posts: 6
Joined: Mon Oct 11, 2004 11:44 am

Post by potato »

if you're on XP,
try RUN -> "CMD"
and type
ipcfg

other than that, i think you'd have to access your network/router settings to obtain your ip
Anonymous

Post by Anonymous »

Code: Select all

SHELL "cmd /k ipconfig > bla.txt"
SHELL "ipcfg >> bla.txt"
SHELL "winipcfg >> bla.txt"
Does this work? (dunno) ;)
thilaka
Newbie
Posts: 2
Joined: Thu Nov 29, 2012 1:17 am

Post by thilaka »

Hi you can also know your ip address on the web here they display your ip address along with the location information.

URL removed as unknown address. MODs

Please don't post in real old threads. Look at the dates before answering!
Post Reply