|
-
Sep 29th, 2000, 09:42 PM
#1
Thread Starter
Member
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
Christian Davidsen
If you go to sleep with an itchy
ass, you wake up with smelly fingers.
-
Sep 29th, 2000, 09:50 PM
#2
Frenzied Member
If you want to read one line at a time try the Line Input function.
Harry.
"From one thing, know ten thousand things."
-
Sep 29th, 2000, 10:26 PM
#3
Fanatic Member
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.
-
Sep 29th, 2000, 10:50 PM
#4
Thread Starter
Member
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
Christian Davidsen
If you go to sleep with an itchy
ass, you wake up with smelly fingers.
-
Sep 30th, 2000, 12:18 AM
#5
Thread Starter
Member
Christian Davidsen
If you go to sleep with an itchy
ass, you wake up with smelly fingers.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|