Home > Chỉ dẫn lập trình > Join files with batch script

Join files with batch script

– You have files: phungvanhuy.txt, lywizhung.txt, huyphungvan.txt, abc.txt, xyz.txt…
– You want to combine contents of each file to only one file
– Using batch command
for %f in (*.txt) do type “%f” >> one.joined

Categories: Chỉ dẫn lập trình Tags:
  1. Chưa có bình luận nào.
Content (You can use Yahoo! Messenger Emoticons :D = smile)