-
Hi
My name is Chris, and I am building a small
prog that hopefylly will rename MP3 files
with just reading the content of a TXT file
where the song titles are.
There will have to be some rules what this file
should look like, in order to rename the right file.
ex. Title.txt
01. Title.mp3
02. Title.mp3
and the mp3 files
Track01.mp3
Track02.mp3
So my question is is there any of you who have done
anything like this, or how it should be done.
How can I grab line by line out of a text file.
Thanks in advance
Best regards,
Chris Davidsen
-
If you want to read one line at a time try the Line Input function.
-
Code:
FF = FreeFile()
Open PathName For Input As #FF
Do While Not(EOF(#FF))
Line Input #FF,Line
...
Loop
Close #FF
It's been a while since I've actually done file ops like that ... :)
Hope this helps.
-
Sorry I'm following
Hi again
the line in the code "Do While Not(EOF(#FF))" came out red
in the sourcecode.
I havent fooled around with input statements
that much, so I'm not sure what I'm doing.
I hope that you can explain the code it would be very nice
but thanks guy for previous replies
Chris
-
I fixed it