- Регистрация
- 06.04.2011
- Сообщения
- 61
- Благодарностей
- 15
- Баллы
- 8
Hi, I have many articles and each one is in a seperate txt file.
eg, 1.txt 2.txt 3.txt 4.txt 5.txt ................................
the first line in the txt file is the title.
the second line to end is the article body.
then I want to post all these articles to one site, when i post the first article, it has to choose the first line from c:\***\1.txt
when i post the send article, it has to choose the first line from c:\***\2.txt
when i post the third article, it has to choose the first line from c:\***\3.txt
when i post the fourth article, it has to choose the first line from c:\***\4.txt
If I have 100 txt files like this, how to make this a recurrent task and how to make it to choose the next file n+1.txt automatically(n is the digit in the last round)
Thanks
eg, 1.txt 2.txt 3.txt 4.txt 5.txt ................................
the first line in the txt file is the title.
the second line to end is the article body.
then I want to post all these articles to one site, when i post the first article, it has to choose the first line from c:\***\1.txt
when i post the send article, it has to choose the first line from c:\***\2.txt
when i post the third article, it has to choose the first line from c:\***\3.txt
when i post the fourth article, it has to choose the first line from c:\***\4.txt
If I have 100 txt files like this, how to make this a recurrent task and how to make it to choose the next file n+1.txt automatically(n is the digit in the last round)
Thanks