จะแปลง html ไปเป็น txt ทุกไฟล์ในโฟร์เดอร์ ทำยังไงดี

เริ่มโดย webdevils, 22 มกราคม 2009, 23:47:50

หัวข้อก่อนหน้า - หัวข้อถัดไป

0 สมาชิก และ 1 ผู้มาเยือน กำลังดูหัวข้อนี้

webdevils

จะแปลง html ไปเป็น .txt ทุกไฟล์ในโฟร์เดอร์(ไฟล์เยอะมาก) ทำยังไงดีครับ   :-*
[direct=https://my.hawkhost.com/aff.php?aff=15523]hawkhost 10GB ปีละ 800 บาท[/direct]

akiko

เอางี้สิครับ ใช้คำสั่ง dos


@echo off
ren 123.html 123.txt
.         .             .
.         .             .
.         .             .
.         .             .


สร้างเป็น ไฟล์ .bat

แบบนี้น่าจะง่าย นะครับ





7

อืม ใช้แบบข้างบนก็ดีนะ แต่เปลี่ยนเป็น

ren *.html *.txt

แบบนี้ทุกไฟล์ใน folder นั้นจะเปลี่ยนหมด

100z


Red777

[direct=http://richparadise.net]Forex Paradise[/direct]
[direct=http://richparadise.net]ฟอเร็กซ์ พาราไดส์[/direct]
[direct=http://forexparadisethailand.blogspot.com/]Forex Paradise[/direct]
[direct=http://richparadise.net]Forex Paradise Thailand[/direct]
[direct=https://www.facebook.com/groups/965285316880180/]FB Group พูดคุยเกี่ยวกับ ForexParadise.biz[/direct]

MrWebmonster

ผมว่าความหมายของการ "แปลง" (Convert) กับการ "เปลี่ยน"(Rename) น่าจะคนละความหมายนะครับ เพราะข้างต้นนั้น น่าจะเป็นการ"เปลี่ยน"(Rename) Extension ไฟล์เฉยๆ แต่ข้างในไฟล์ยังเหมือนเดิม พวก tag html ยังคงอยู่

ลองใช้โปรแกรม HTMLAsText - HTML to text freeware converter  - http://www.nirsoft.net/utils/htmlastext.html ดีกว่าไหมครับ
หรือหาดูใน
- http://www.topshareware.com/convert-html-to-text/downloads/1.htm

หรือลองค้นหาที่
- http://www.google.com/search?hl=en&q=convert+html+to+text&revid=707198657&sa=X&oi=revisions_inline&resnum=0&ct=broad-revision&cd=1

:)
รวมเรื่อง สัพเพเหระ ไอที [direct=https://webmonsterth.blogspot.com/]แก้ปัญหาไวรัส[/direct] คอมพิวเตอร์ทิป อินเตอร์เน็ตทิป โค้ด รหัส Ascii [direct=http://www.ezsymbols.com/]สัญลักษณ์facebook[/direct] Messenger LINE Gplus Instagram [direct=http://www.ilovebrowser.com/]แก้ปัญหาเว็บเบราเซอร์[/direct] สู้ๆ น้าาาาา ~

webdevils

อ้างถึงจาก: MrWebmonster ใน 23 มกราคม 2009, 09:43:23
ผมว่าความหมายของการ "แปลง" (Convert) กับการ "เปลี่ยน"(Rename) น่าจะคนละความหมายนะครับ เพราะข้างต้นนั้น น่าจะเป็นการ"เปลี่ยน"(Rename) Extension ไฟล์เฉยๆ แต่ข้างในไฟล์ยังเหมือนเดิม พวก tag html ยังคงอยู่

ลองใช้โปรแกรม HTMLAsText - HTML to text freeware converter  - http://www.nirsoft.net/utils/htmlastext.html ดีกว่าไหมครับ
หรือหาดูใน
- http://www.topshareware.com/convert-html-to-text/downloads/1.htm

หรือลองค้นหาที่
- http://www.google.com/search?hl=en&q=convert+html+to+text&revid=707198657&sa=X&oi=revisions_inline&resnum=0&ct=broad-revision&cd=1

:)

ขอบคุณมากเลยครับ เป็นการแปลงนะครับ ไม่ใช่เปลี่ยน อย่างที่คุณ MrWebmonster  บอก

ผมใช้ตัวนี้ http://www.topshareware.com/Simple-HTML-To-Text-Converter-download-38076.htm  แล้วได้

+++
[direct=https://my.hawkhost.com/aff.php?aff=15523]hawkhost 10GB ปีละ 800 บาท[/direct]

7