acrane76 Posted March 6, 2018 Share Posted March 6, 2018 (edited) hello how i can get a ip of the current pc ip and transfer it to a file ip.txt ???? with autoit Edited March 6, 2018 by acrane76 Link to comment Share on other sites More sharing options...
Earthshine Posted March 6, 2018 Share Posted March 6, 2018 so many ways to do that. take a gander at this My resources are limited. You must ask the right questions Link to comment Share on other sites More sharing options...
Developers Jos Posted March 6, 2018 Developers Share Posted March 6, 2018 That depends which IP address is talked about.... @acrane76, please define which IP address you are looking for and what you exactly mean with transferring it to ip.txt. Where is this file located? Overall, what exactly is the intent here? Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
acrane76 Posted March 6, 2018 Author Share Posted March 6, 2018 (edited) the intend is only to get a ip of a computer and transfer this ip to a file ip.txt , and the file can be placed anywhere Edited March 6, 2018 by acrane76 Link to comment Share on other sites More sharing options...
Developers Jos Posted March 6, 2018 Developers Share Posted March 6, 2018 (edited) .. and the file is located ....where? Edited March 6, 2018 by Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
Developers Jos Posted March 6, 2018 Developers Share Posted March 6, 2018 ok ... see your update, but that doesn't help much as I have no idea what anywhere is. ...please define the exact location/options as that drives the options. I also like to understand the purpose of all of this. Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
acrane76 Posted March 6, 2018 Author Share Posted March 6, 2018 c:\users\admin\desktop Link to comment Share on other sites More sharing options...
Developers Jos Posted March 6, 2018 Developers Share Posted March 6, 2018 (edited) ok ... so anywhere on the Computer... not anywhere in the world is what you meant. Something basic like ?: FileWriteLine("c:\users\admin\desktop\ip.txt",@ComputerName&"-"&@UserName&"-"&@IPAddress1) but you need to ensure they will have write access to the file which likely is not the case in that user directory. Jos Edited March 6, 2018 by Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
acrane76 Posted March 6, 2018 Author Share Posted March 6, 2018 (edited) I want to save an external IP file and not an internal IP , something like this https://geoiptool.com/it/?ip=40.181.103.187 Edited March 6, 2018 by acrane76 Link to comment Share on other sites More sharing options...
Developers Jos Posted March 6, 2018 Developers Share Posted March 6, 2018 Just now, acrane76 said: I want to save an external IP file and not an internal IP Ok, then back to my question: Where and why do you want to do this. This time please try coming up with a complete answer as I am done trying to pull teeth. Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
acrane76 Posted March 6, 2018 Author Share Posted March 6, 2018 i want to do this because I need it for some business matters Link to comment Share on other sites More sharing options...
Developers Jos Posted March 6, 2018 Developers Share Posted March 6, 2018 (edited) Ok... again no clear answer so we end this discussion and thread will be locked up until you can explain why you want this. oh..and don't start another topic with these questions in it as there seems to be a common theme looking at the history. Jos Edited March 6, 2018 by Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
Recommended Posts