China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --

Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
DOS stands for freedom, openness and progress. Let us work hard, learn from the openness and GNU spirit of FreeDOS and Linux, and together build and grow a free GNU GPL world!

中国DOS联盟论坛
The time now is 2026-08-02 21:40
中国DOS联盟论坛 » DOS批处理 & 脚本技术(批处理室) » Is there any brother who has time to pack all the posts for download? View 2,179 Replies 15
Original Poster Posted 2006-12-22 09:36 ·  中国 广东 广州 电信
初级用户
★★
Credits 180
Posts 68
Joined 2006-12-21 23:44
19-year member
UID 74192
Gender Male
From China
Status Offline
I am a student. There is no network cable in the dormitory, and I have to go outside to surf the Internet.
The posts here are very good, but unfortunately I don't have so much money to surf the Internet.
Is there any brother willing to help?
Thank you in advance!!!!!
Floor 2 Posted 2006-12-22 10:57 ·  中国 湖北 武汉 电信
版主
★★★★★
Credits 11,386
Posts 4,938
Joined 2006-07-23 17:10
20-year member
UID 59080
Status Offline

  Sweat... All posts? How many gigabytes is that?
Floor 3 Posted 2006-12-22 12:03 ·  中国 四川 成都 教育网
铂金会员
★★★★
Credits 7,493
Posts 2,672
Joined 2005-09-02 00:00
20-year member
UID 42173
Gender Male
Status Offline
Maybe this post is helpful to you, I downloaded the entire forum like this

http://www.cn-dos.net/forum/viewthread.php?tid=25881&fpage=1
Floor 4 Posted 2006-12-23 05:07 ·  中国 广东 广州 电信
初级用户
★★
Credits 180
Posts 68
Joined 2006-12-21 23:44
19-year member
UID 74192
Gender Male
From China
Status Offline
First, thank the brother upstairs.
Sweat~~
I've seen that awesome batch processing brother's post, but now I just can't write it.
Haha,
Brother upstairs, can you take some time to post it for me to study???
I'm extremely grateful!!!
Floor 5 Posted 2006-12-23 07:57 ·  中国 四川 成都 教育网
铂金会员
★★★★
Credits 7,493
Posts 2,672
Joined 2005-09-02 00:00
20-year member
UID 42173
Gender Male
Status Offline
In the CMD interface of the forum, input

dir D:\23 /a /b /-p


3327
2560
2557
2282
1913
1515
1426
766
729
913
640
339


Make into


http://www.cn-dos.net/forum/viewthread.php?tid=3327&action=printable
http://www.cn-dos.net/forum/viewthread.php?tid=2560&action=printable
http://www.cn-dos.net/forum/viewthread.php?tid=2557&action=printable
http://www.cn-dos.net/forum/viewthread.php?tid=2282&action=printable
http://www.cn-dos.net/forum/viewthread.php?tid=1913&action=printable
http://www.cn-dos.net/forum/viewthread.php?tid=1515&action=printable
http://www.cn-dos.net/forum/viewthread.php?tid=1426&action=printable
http://www.cn-dos.net/forum/viewthread.php?tid=766&action=printable
http://www.cn-dos.net/forum/viewthread.php?tid=729&action=printable
http://www.cn-dos.net/forum/viewthread.php?tid=913&action=printable
http://www.cn-dos.net/forum/viewthread.php?tid=640&action=printable
http://www.cn-dos.net/forum/viewthread.php?tid=339&action=printable


Then you can import it into Thunder, Flashget, etc. for downloading.

[ Last edited by electronixtar on 2006-12-23 at 07:59 AM ]
Recent Ratings for This Post ( 1 in total) Click for details
RaterScoreTime
redtek +7 2006-12-23 08:10
Floor 6 Posted 2006-12-23 08:22 ·  中国 广东 广州 电信
初级用户
★★
Credits 180
Posts 68
Joined 2006-12-21 23:44
19-year member
UID 74192
Gender Male
From China
Status Offline
Bro, I understand the step of `dir D:\23 /a /b /-p` now. Now the question is whether the second step is to use some kind of loop or something to make the address all at once? Or any other good method? Sweat~~ No way, I'm a nobody, still have to trouble the upstairs brother!
Floor 7 Posted 2006-12-23 09:15 ·  中国 广东 电信
荣誉版主
★★★★
batch fan
Credits 5,226
Posts 1,737
Joined 2006-03-10 00:38
20-year member
UID 51697
From 成都
Status Offline
By 20:00 on 2006-12-22, the addresses of all topics in the DOS Batch Processing Room are as shown in the attached file. The code for making this txt is as follows:

@echo off
cd.>DOS Batch Processing Room All Topic Addresses.txt
for /f %%i in (test.txt) do echo http://www.cn-dos.net/forum/viewthread.php?tid=%%i^&action=printable>>DOS Batch Processing Room All Topic Addresses.txt
Attachments
DOS批处理室所有主题的地址.rar (5.99 KiB, Credits to download 1 pts, Downloads: 44)
尺有所短,寸有所长,学好CMD没商量。
考虑问题复杂化,解决问题简洁化。
Floor 8 Posted 2006-12-23 09:57 ·  中国 四川 成都 教育网
铂金会员
★★★★
Credits 7,493
Posts 2,672
Joined 2005-09-02 00:00
20-year member
UID 42173
Gender Male
Status Offline
Hehe, I used regular expression replacement, and the moderator used p
Floor 9 Posted 2006-12-23 10:22 ·  中国 广东 广州 电信
初级用户
★★
Credits 180
Posts 68
Joined 2006-12-21 23:44
19-year member
UID 74192
Gender Male
From China
Status Offline
Hehe, I've been browsing posts about txt just now. Thank you so much, elder brother version.
Trouble elder brother version to add more fuel, roast this not familiar sweet potato of mine, ~~ ~~ there are still places I don't understand.
1. After using the statement dir D:\23 /a /b /-p, how to assign the obtained tid to i??
Is it related to in (test.txt)?
2. I also don't understand cd.>DOS batch processing room all topic addresses.txt
Sweat~~ Forgive me, this newbie.
It's best to have step-by-step explanations that make it clear.
Forgive me, all brothers!!!
Floor 10 Posted 2006-12-23 10:30 ·  中国 广东 电信
荣誉版主
★★★★
batch fan
Credits 5,226
Posts 1,737
Joined 2006-03-10 00:38
20-year member
UID 51697
From 成都
Status Offline
My approach is: After searching for the post IDs according to the steps of 5F, I use the mouse to copy these IDs and save them to test.txt. Then I write that code, save it in the same directory as test.txt, run it, then package it, and then upload it. It took about less than 5 minutes in total.

1. Reading each topic ID from test.txt is related to in (test.txt), but not all relationships;
2. This sentence is to clear the target text first, so that when the code is run again next time, the result from the last time will not be retained in the target text.
尺有所短,寸有所长,学好CMD没商量。
考虑问题复杂化,解决问题简洁化。
Floor 11 Posted 2006-12-23 10:37 ·  中国 广东 广州 电信
初级用户
★★
Credits 180
Posts 68
Joined 2006-12-21 23:44
19-year member
UID 74192
Gender Male
From China
Status Offline
Little brother is still washing eyes and watching. Please, brother electronixtar, say something about regular replacement and p?
Floor 12 Posted 2006-12-23 10:39 ·  中国 广东 广州 电信
初级用户
★★
Credits 180
Posts 68
Joined 2006-12-21 23:44
19-year member
UID 74192
Gender Male
From China
Status Offline
Hehe, saw it!!!
Brother version is very enthusiastic!
I'll try again!
Floor 13 Posted 2006-12-23 10:48 ·  中国 广东 广州 电信
初级用户
★★
Credits 180
Posts 68
Joined 2006-12-21 23:44
19-year member
UID 74192
Gender Male
From China
Status Offline
Great! Thank you, really thank you, brother! According to your method, it's a piece of cake!!! Truly thank you, all enthusiastic brothers!!!
Floor 14 Posted 2006-12-23 14:48 ·  中国 河北 石家庄 桥西区 联通
初级用户
Credits 54
Posts 28
Joined 2006-10-16 14:23
19-year member
UID 65980
Gender Male
Status Offline
Thanks for sharing.
Collected it, haha
Floor 15 Posted 2006-12-23 21:26 ·  中国 安徽 马鞍山 电信
金牌会员
★★★★
Credits 3,946
Posts 1,884
Joined 2006-01-20 13:00
20-year member
UID 49283
Gender Male
Status Offline
I tried it, and this method is really good. However, the downloaded file names are viewthread(1).php, etc. Is there a way to generate an index file containing the topic name for the downloaded posts, so that it's easier to view the posts? Otherwise, with thousands of posts, how to quickly browse the posts of interest.
Windows 一键还原
http://www.yjhy.com
Forum Jump: