I just needed to parse a line based file containing hosts and access the hosts with Firefox under Windows in multiple tabs. Here is what I did:
1 2 3 |
for /f %%a in (file.txt) do ( start "%Program Files%\Mozilla Firefox\firefox.exe" %%a > nul ) |
If you want to slow things down and the sleep command is no option, you can use this workaround to slow things down:
1 |
ping 127.0.0.1 -n 1 -w 1000 > nul |