Re: [問題] 把.txt檔名自動改為內文第一行文
那不然就找sed windows用的版本
文字檔案為 111.txt
內容為
12345
23456
34567
然後打for /f "tokens=*" %a in ('sed "1!d" 111.txt') do ren 111.txt %a.txt
這樣看看....2000以上限定
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 61.228.100.163
※ 編輯: junorn 來自: 61.228.100.163 (01/21 21:39)
※ 編輯: junorn 來自: 61.228.100.163 (01/21 21:40)
→
01/22 04:27, , 1F
01/22 04:27, 1F
討論串 (同標題文章)
完整討論串 (本文為第 3 之 7 篇):