|
liu3157551
中级用户
  
积分 259
发帖 164
注册 2006-9-21
状态 离线
|
『楼 主』:
[已结]怎样实现批处理生成许多个文件[已解决]
使用 LLM 解释/回答一下
怎么从A.txt文件如下:
111111111111111111111111(第一行)
111111111111111111111111(第二行)
111111111111111111111111(第三行)
111111111111111111111111(第四行)
111111111111111111111111(第……行)
111111111111111111111111(第……行)
当然每一行的内容是不一样的
只取A文件中每一行的内容生成到一个个新文件中的同地方不同的内容
<qsed version="3.0.0.57">
<entry>
<ref href="qvod://261204498|79B492FD2273303CF4A58EB8E0746FF57E15BD4C|败犬女王_14.rmvb|
"/>
</entry>
</qsed>
能这样生成B.bt文件吗?
Last edited by liu3157551 on 2010-1-5 at 15:09 ]
How to do it from file A.txt as follows:
111111111111111111111111 (first line)
111111111111111111111111 (second line)
111111111111111111111111 (third line)
111111111111111111111111 (fourth line)
111111111111111111111111 (the... line)
111111111111111111111111 (the... line)
Of course, the content of each line is different
Only take the content of each line in file A and generate it into the different content in the same place in each new file
<qsed version="3.0.0.57">
<entry>
<ref href="qvod://261204498|79B492FD2273303CF4A58EB8E0746FF57E15BD4C|败犬女王_14.rmvb|
"/>
</entry>
</qsed>
Can this generate a B.bt file?
Last edited by liu3157551 on 2010-1-5 at 15:09 ]
|
|
2009-4-21 00:18 |
|
|
liu3157551
中级用户
  
积分 259
发帖 164
注册 2006-9-21
状态 离线
|
『第 2 楼』:
使用 LLM 解释/回答一下
是我说得不明白吗?还是有问题呢
我是想从A文件中的每一行生成每一个新的文件,就是每一个新文件的第三行的中间。
Is what I said not clear? Or is there a problem?
I want to generate each new file from each line in file A, that is, in the middle of the third line of each new file.
|
|
2009-4-21 00:36 |
|
|
gotocmd
新手上路

积分 19
发帖 20
注册 2008-7-3
状态 离线
|
|
2009-4-21 00:41 |
|
|
liu3157551
中级用户
  
积分 259
发帖 164
注册 2006-9-21
状态 离线
|
|
2009-4-21 00:43 |
|
|
liu3157551
中级用户
  
积分 259
发帖 164
注册 2006-9-21
状态 离线
|
『第 5 楼』:
使用 LLM 解释/回答一下
论坛的时间有误。。。怎么才00:43分。。。
The time on the forum is wrong... Why is it only 00:43...
|
|
2009-4-21 00:52 |
|
|
yishanju
银牌会员
     [b]看你妹啊[/b]
积分 1488
发帖 1357
注册 2006-5-20
状态 离线
|
『第 6 楼』:
使用 LLM 解释/回答一下
怒了,被个无良的楼主骗了
Angry, cheated by a unscrupulous thread starter
|

有问题请发论坛或者自行搜索,再短消息问我的统统是SB |
|
2009-4-21 00:56 |
|
|
HAT
版主
       
积分 9023
发帖 5017
注册 2007-5-31
状态 离线
|
|
2009-4-21 00:57 |
|
|
liu3157551
中级用户
  
积分 259
发帖 164
注册 2006-9-21
状态 离线
|
『第 8 楼』:
使用 LLM 解释/回答一下
哭 呀,真的没有那种批处理吗?
Cry, is there really no such batch processing?
|
|
2009-4-21 11:54 |
|
|
HAT
版主
       
积分 9023
发帖 5017
注册 2007-5-31
状态 离线
|
『第 9 楼』:
Re 8楼
使用 LLM 解释/回答一下
有。你接着哭吧,看看能不能哭出来。
There is. You continue to cry, let's see if you can cry out.
|

 |
|
2009-4-21 12:04 |
|
|
liu3157551
中级用户
  
积分 259
发帖 164
注册 2006-9-21
状态 离线
|
『第 10 楼』:
使用 LLM 解释/回答一下
可是我找不到。搜索过了,看不明白,如果有人整理出来就好了。。。。特别是一帖子多例子,都不太明白其中的意思。。。。。。。。
But I can't find it. I've searched, but I don't understand. It would be great if someone could sort it out.... Especially for posts with multiple examples, I don't quite understand the meaning of them....
|
|
2009-4-22 00:11 |
|
|
liu3157551
中级用户
  
积分 259
发帖 164
注册 2006-9-21
状态 离线
|
『第 11 楼』:
使用 LLM 解释/回答一下
你们怎么能这样欺负人呢。。。。怎么能这样对待一个不懂的人呢。。。。要是我能长大成人还用得着当个小孩吗???助人为乐这种行为已经很少见了 ,到是出了不少的“大爷”还能怪谁。只要靠自己了。
Last edited by liu3157551 on 2009-4-22 at 00:52 ]
How can you bully people like this... How can you treat someone who doesn't understand like this... If I could grow up, would I still need to be a child??? The behavior of helping others is already very rare. Instead, there are a lot of "old men." Who can be blamed? We just have to rely on ourselves.
Last edited by liu3157551 on 2009-4-22 at 00:52 ]
|
|
2009-4-22 00:51 |
|
|
HAT
版主
       
积分 9023
发帖 5017
注册 2007-5-31
状态 离线
|
『第 12 楼』:
Re 10楼
使用 LLM 解释/回答一下
看不明白就问啊,哪行不懂就问哪行,在那里哭有啥用?
还觉得别人欺负你了?别人应该怎么做呢?买糖哄哄你?
If you don't understand, just ask. If you don't understand a certain aspect, ask about that aspect. What's the use of crying there? Do you still think someone is bullying you? What should others do? Buy candy to coax you?
|

 |
|
2009-4-22 02:00 |
|
|
yishanju
银牌会员
     [b]看你妹啊[/b]
积分 1488
发帖 1357
注册 2006-5-20
状态 离线
|
『第 13 楼』:
使用 LLM 解释/回答一下
这本不是什么难事
要不是开始自己起个骗人的标题早就帮你了
最好能把实际的文件传上来一下
This was not really a difficult task. If I hadn't started with a deceiving title myself, I would have helped you long ago. It's best to upload the actual file.
|

有问题请发论坛或者自行搜索,再短消息问我的统统是SB |
|
2009-4-22 08:42 |
|
|
yishanju
银牌会员
     [b]看你妹啊[/b]
积分 1488
发帖 1357
注册 2006-5-20
状态 离线
|
『第 14 楼』:
使用 LLM 解释/回答一下
@echo off
setlocal ENABLEDELAYEDEXPANSION
set n=0
for /f "delims=" %%i in (5.txt) do (
set /a n=n+1
(echo ^<version="22.0.0.57"^>
echo ^<entry^>
echo ^<ref href="%%i"/^>
echo ^</entry^>
echo ^</bt^>)>>5b!n!.txt
)
pause
@echo off
setlocal ENABLEDELAYEDEXPANSION
set n=0
for /f "delims=" %%i in (5.txt) do (
set /a n=n+1
(echo ^<version="22.0.0.57"^>
echo ^<entry^>
echo ^<ref href="%%i"/^>
echo ^</entry^>
echo ^</bt^>)>>5b!n!.txt
)
pause
|

有问题请发论坛或者自行搜索,再短消息问我的统统是SB |
|
2009-4-22 09:02 |
|
|
liu3157551
中级用户
  
积分 259
发帖 164
注册 2006-9-21
状态 离线
|
『第 15 楼』:
使用 LLM 解释/回答一下
其实就是我想生成QVOD的种子文件了。哎,是能生成但是软件不认。。。不知道差别在哪所以上传文件了
<qsed version="3.0.0.57">
<entry>
<ref href="qvod://261204498|79B492FD2273303CF4A58EB8E0746FF57E15BD4C|败犬女王_14.rmvb|
"/>
</entry>
</qsed>
Last edited by liu3157551 on 2009-4-22 at 12:25 ]
Actually, I just wanted to generate a QVOD seed file. Well, it can be generated but the software doesn't recognize it... I don't know the difference, so I uploaded the file.
<qsed version="3.0.0.57">
<entry>
<ref href="qvod://261204498|79B492FD2273303CF4A58EB8E0746FF57E15BD4C|败犬女王_14.rmvb|
"/>
</entry>
</qsed>
Last edited by liu3157551 on 2009-4-22 at 12:25 ]
附件
1: 败犬女王_14.rar (2009-4-22 12:15, 256 bytes,下载次数: 20)
|
|
2009-4-22 12:15 |
|