在Firefox或Opera中的多个标签中自动打开URL的脚本 [英] Script to automate URL opening in multiple tabs in Firefox or Opera from a text file
本文介绍了在Firefox或Opera中的多个标签中自动打开URL的脚本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
setfileList =
FOR / Fusebackq delims ==%%我在(C:\ Documents and Settings\mdevine\Desktop\urls.txt)DO调用设置fileList = %% fileList %% %%我
启动firefox%fileList%
关闭并保存
/ p>
注意:C:\Documents and Settings\mdevine\Desktop\urls.txt是一个包含以下内容的文本文件:
http://www.rte.ie
http://www.python.org
http://www.bbc .co.uk
http://www.google.com
I have a text file with lots of links-each line has a link (i.e the separator is '\n'). i want to write a script so that each link opens in a different tab in Firefox or Internet explorer. How can I do this? I'm on Windows 7
解决方案
Create a text file called whatever.bat and put it on your desktop. edit the file and enter:
set "fileList="
FOR /F "usebackq delims==" %%i IN ("C:\Documents and Settings\mdevine\Desktop\urls.txt") DO call set "fileList=%%fileList%% %%i"
start firefox %fileList%
close and save
double click on it
Note: C:\Documents and Settings\mdevine\Desktop\urls.txt is a text file that contains the following:
http://www.rte.ie
http://www.python.org
http://www.bbc.co.uk
http://www.google.com
这篇关于在Firefox或Opera中的多个标签中自动打开URL的脚本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文