![]() |
China DOS Union-- Unite DOS · Advance DOS · Grow DOS --Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum |
| Guest | Log in | Register | Members | Search | China DOS Union |
|
中国DOS联盟论坛 The time now is 2026-08-12 02:33 |
47,811 topics / 349,897 posts / today 0 new / 48,256 members |
| DOS批处理 & 脚本技术(批处理室) » [Completed] How to extract addresses from *.qsed files into Html? |
| Printable Version 5,015 / 24 |
| Floor1 liu3157551 | Posted 2010-01-04 22:25 |
| 中级用户 Posts 164 Credits 259 | |
|
I very much need this function, it would be nice if it could be output as a hyperlink in an HTML file, or as text.
qvod://200306917|4EDA9AEBCBD8F8EF104CCD512F43F759ED3319AD|灿烂的遗产01.rmvb| [ Last edited by liu3157551 on 2010-1-5 at 21:13 ] |
|
| Floor2 asnahu | Posted 2010-01-04 23:00 |
| 初级用户 Posts 53 Credits 99 | |
|
```@echo off
sed "/href/!d; s/.*\x22\(.*\)/\1/g" *.qsed pause>nul``` |
|
| Floor3 liu3157551 | Posted 2010-01-05 13:10 |
| 中级用户 Posts 164 Credits 259 | |
|
I downloaded and tried it, but it only outputs to the window, not to Html. Do you have any other ways?
|
|
| Floor4 asnahu | Posted 2010-01-05 13:18 |
| 初级用户 Posts 53 Credits 99 | |
|
Just add a redirection:
Also, how exactly are the hyperlinks? |
|
| Floor5 liu3157551 | Posted 2010-01-05 13:29 |
| 中级用户 Posts 164 Credits 259 | |
|
Just a simplest web link will do
|
|
| Floor6 liu3157551 | Posted 2010-01-05 13:30 |
| 中级用户 Posts 164 Credits 259 | |
|
Tried it, and it feels pretty good. Quite practical.
[ Last edited by liu3157551 on 2010-1-5 at 14:31 ] |
|
| Floor7 liu3157551 | Posted 2010-01-05 14:28 |
| 中级用户 Posts 164 Credits 259 | |
|
This can be output as a text file. Can you add the address of the TXT to the html again? Please. I don't know.
[ Last edited by liu3157551 on 2010-1-5 at 14:43 ] |
|
| Floor8 qinchun36 | Posted 2010-01-05 15:09 |
| 高级用户 Posts 400 Credits 609 | |
|
Encountered two such problems, and suddenly learned something new, haha, not bad!
I made a foolproof version for you, in VBS. The function is that after running, it lets you select a folder, and then it will extract the addresses from all .qsed files in this folder and its subfolders, and generate a .htm file. Attachments qsed.zip (1.39 KiB) |
|
| Floor9 liu3157551 | Posted 2010-01-05 15:17 |
| 中级用户 Posts 164 Credits 259 | |
|
The method upstairs is feasible, but not concise enough. It's not the format I want, but I'll make do with it. Thanks a lot.
I don't know if you can help me complete the problem above http://www.cn-dos.net/forum/viewthread.php?tid=47087&fpage=1&highlight= The generated file is not perfect [ Last edited by liu3157551 on 2010-1-5 at 15:28 ] |
|
| Floor10 qinchun36 | Posted 2010-01-05 15:28 |
| 高级用户 Posts 400 Credits 609 | |
|
What does it mean?
I think your expression is problematic, and you haven't made the problem clear. |
|
| Floor11 liu3157551 | Posted 2010-01-05 15:38 |
| 中级用户 Posts 164 Credits 259 | |
|
The one you have is too big. I wonder if you can make it like mine?
|
|
| Floor12 qinchun36 | Posted 2010-01-05 16:00 |
| 高级用户 Posts 400 Credits 609 | |
|
Attachments qsed.zip (1.34 KiB) |
|
| Floor13 liu3157551 | Posted 2010-01-05 16:36 |
| 中级用户 Posts 164 Credits 259 | |
|
That's great! You're really awesome! Thanks~~~ It's very good and GOOD after testing! Can you help solve the problem on floor 9? That is, convert the addresses in the TXT to *.qsed or something like html?
|
|
| Floor14 qinchun36 | Posted 2010-01-05 16:51 |
| 高级用户 Posts 400 Credits 609 | |
|
Hey. . .
Haven't you seen the batch script written by yishanju? Just change it a little bit. |
|
| Floor15 liu3157551 | Posted 2010-01-05 17:03 |
| 中级用户 Posts 164 Credits 259 | |
|
Using the above method can indeed save it as a *.qsed file, but the program doesn't recognize it. Even the qsed.vbs you provided doesn't recognize it.
[ Last edited by liu3157551 on 2010-1-5 at 17:42 ] |
|
| 1 2 Next |
|
[ Contact the Union admin team -
中国DOS联盟 -
Standard version ] Sponsored by ifanr Inc | © 2001–2023 |