坛子里有没有网络高手,请进
所在版块:求学狮城 发贴时间:2005-08-05 11:08  评分:

用户信息
复制本帖HTML代码
高亮: 今天贴 X 昨天贴 X 前天贴 X 

My OS is Win xp, I want to dump some URLs into one file using batch processing.

For example,

I have the following URLs:

http://www.aaa.bbb.com/1
http://www.aaa.bbb.com/2
http://www.aaa.bbb.com/3
http://www.aaa.bbb.com/4
...
http://www.aaa.bbb.com/99
http://www.aaa.bbb.com/100

Please note the content of above URLs is all text.
So, I want to write all the contents into one file for furthur processing.
It seems I can use for loop to do it. (batch mode)

You can use:
(1) JavaScript or else. (But Javascript can not write file on local harddisk,
of course, you can write the content into one html file, then "save is".)

(I have tried this, failed. because, I did not use HTML and Script for long time.)

(2) Use some tools in DOS mode.

for (i = 1; i <= 100, i++)
dump http://www.aaa.bbb.com/i > tmp.txt

(I have tried this, but in MS-DOS, difficult to config the network.)

(3) Use some tools in windowns mode.
Any tools can do this???

I do not have VB on hand, otherwise, I can use it to develop me.
VB have HTTP control activex.)


Thanks a lot.

.
欢迎来到华新中文网,踊跃发帖是支持我们的最好方法!

 相关帖子 我要回复↙ ↗回到正文
坛子里有没有网络高手,请进 大猩猩   (1105 bytes , 546reads )
My Solution in Javascript 大猩猩   (383 bytes , 256reads )
Problem solved... Thanks... Use method 1. 大猩猩   (0 bytes , 209reads )
can you post your solution, so that others will benefit as well? icky   (1 bytes , 193reads )
不能使用Linux 大猩猩   (0 bytes , 192reads )