─────────────────── Moderation Record ────────────────────
Handled by: lxmxn
Original title: Can a batch file handle something like this
Note: Because the title is too vague, it is not convenient for forum searching and management. Please modify the title within three days.
Tip: To modify the title, click Edit at the lower right corner of the current post, and after making the changes, press Edit Post.
Penalty: Since you are new to the forum, no penalty will be given for the time being; if the title is still not modified after three days, 2 credits will be deducted,
as a punishment, and the moderator will forcibly change the title. Please click here to read the forum posting rules or see
How To Ask Questions The Smart Way, so as to avoid violating the rules in future discussions.
─────────────────── Moderation Record ────────────────────
If there is a txt file, size 4mb, and now I want to write a batch file to split this txt file into several smaller txt files according to certain conditions.
For example, the requirement is that each new txt file be named XXX1.txt .... XXX2.txt... XXX3.txt like this, with each one being 20KB.
Can this be done with a batch file? I sincerely ask for an answer, I can't write it!
[ Last edited by jifenglang on 2007-5-2 at 07:42 AM ]
