レンタルサーバというのは公開してもいいファイルが詰め込まれた、
僕のストレージのようなもんです。
HSPコードです。続きから
chdir ""
sdim abc,10000 : sdim temp,1000000,10
dirlist dirls,"コピー ~ *.txt",0
notesel dirls
repeat noteinfo(0)
notesel dirls : noteget temp(0),cnt
notesel temp(1) : noteload temp(0)
notesave "" + strmid(temp(0),10,strlen(temp(0))) + "_comment.txt"
delete temp(0)
await 1
loop
これでコピー ~ から始まり、.txtで終わるファイル全てが_comment.txtになる!
そりゃあ最初の行は変えないとつかえませんが。
内容あっても意味が無い事に気づいたのは後の祭り。