elyfrank Posted December 7, 2012 Share Posted December 7, 2012 Hi guys, I managed to write this script to open a link in internet explorer close it and open another one. I would like to have all my links in a different txt files with multiple links line by line and be able to do the same function reading it from the bat file I will appreciate anybody that can help me with this. This is the bat file I made which works great. It opens these two llinks one at a time and do some stuff. @echo off start /MIN iexplore.exe www.website1.com ping 192.178.1.1 -w 1 ping 192.178.1.1 -w 1 ping 192.178.1.1 -w 1 ping 192.178.1.1 -w 1 ping 192.178.1.1 -w 1 ping 192.178.1.1 -w 1 ping 192.178.1.1 -w 1 tskill iexplore /A RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 255 start /MIN iexplore.exe www.website2.com ping 192.178.1.1 -w 1 ping 192.178.1.1 -w 1 ping 192.178.1.1 -w 1 ping 192.178.1.1 -w 1 ping 192.178.1.1 -w 1 ping 192.178.1.1 -w 1 ping 192.178.1.1 -w 1 ping 192.178.1.1 -w 1 ping 192.178.1.1 -w 1 tskill iexplore /A RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 255 Thank you very much Link to comment https://forums.phpfreaks.com/topic/271731-reading-txt-files-from-bat-file/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.