![]() |
|
|
|||||||
| Programming Place to discuss programming including HTML, Java, C++, MySQL and others. |
![]() |
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
Not Ranked
:
0 score
Can someone help me with making a batch file to get a computers ip address and then send that by email or send it some way?
|
| Sponsored links |
|
|
|
#2
|
|||
|
|||
Not Ranked
:
0 score
or can i create a program that will do the sane thing??
|
|
#3
|
||||
|
||||
Not Ranked
:
0 score
Are you wanting it's external IP or the IP within your home/business network?
__________________
Always Willing to Help with Technical issues! Volvo 480 Turbo *woooosshhhh* |
|
#4
|
|||
|
|||
Not Ranked
:
0 score
I am wanting the external ip so i can use it to get the ip for remote access
|
|
#5
|
|||
|
|||
Not Ranked
:
0 score
IPCONFIG /ALL could help to find the ip address.
Sending by email is not possible using native batch. Google will help you to find an email command line tool Regards GermanOne |
| Sponsored links |
|
|
|
#6
|
||||
|
||||
Not Ranked
:
0 score
Quote:
doesn't give you your external IP. Just your IP for your own network.
__________________
Always Willing to Help with Technical issues! Volvo 480 Turbo *woooosshhhh* |
|
#7
|
|||
|
|||
Not Ranked
:
0 score
Quote:
Don't know how to figure out the external IP using batch commands. |
|
#8
|
|||
|
|||
Not Ranked
:
0 score
Doing a tracert to any known address (e.g., www.google.com) will give you the external gateway, but not your specific address. If you can do an IPv6 tracert and do a Roundtrip trace, then you could use the native Windows commands to get it. Unfortunately, you'll have to find a commandline utility that either does this for you in IPv4, or find a commandline way to log in to your router.
If the computer is not behind a router, and all you need is the computer's IP address, then GermanOne is correct. More information about your situation and what you are trying to accomplish would be helpful. |
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| batch file | medic42 | Programming | 11 | 07-22-05 12:40 |
| help with batch file | forumuser | Programming | 4 | 05-04-05 19:48 |
| Batch File time stamp and appending to the end of a file | question2ask | Programming | 2 | 06-18-04 08:28 |
| Batch File to remove a space at the end of a charcter in a txt file | rcmathen | Programming | 2 | 05-14-04 10:04 |
| Batch File | AirWarrior001 | Software | 1 | 03-06-03 21:10 |