正则表达式学习

for /r %i in (*.*) do @perl -pi.bak -e "s/^.*$/hello, world!/g" "%i"

(注:如果你不明白以上命令,请不要尝试运行。)

Related

Leave a comment

Your comment