Computing.Net > Forums > Programming > Where are scripting guys?

Computing.Net: Over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to sign up now, it's free!

Where are scripting guys?

Reply to Message Icon

Original Message
Name: ericcc
Date: September 16, 2008 at 20:59:54 Pacific
Subject: Where are scripting guys?
OS: xp
CPU/Ram: 700
Model/Manufacturer: dell
Comment:

i have a list of files that i need to run script on. i need a simple script to help me accomplish two things:
1, run a script over the folder that is containing these files to re-name these files
2, as some are audio files, i need a script to also re-name these file's 'Title'


Report Offensive Message For Removal


Response Number 1
Name: TanelTM
Date: September 17, 2008 at 05:28:53 Pacific
Reply: (edit)

You aren't giving much information here..
1. rename how.. ask for a new name for every file in the folder?
2. I don't know about wma files but for mp3 files you need a 3rd party CLI program to give your script the ability to change the id3 information, like this one here: http://home.wanadoo.nl/squell/id3.html


Report Offensive Follow Up For Removal

Response Number 2
Name: ericcc
Date: September 20, 2008 at 08:42:18 Pacific
Reply: (edit)

specifically (in this path 'C:\Documents and Settings\johny\My Documents\My
Music') i have audio files (names) in this order:

1, 112file01.mp3
2, 112file02.mp3
3, 112file03.mp3
4, 112file04.mp3
5, 112file05.mp3
etc,

and wants to rename them to:

1, 00112_file 001.mp3
2, 00112_file 002.mp3
3, 00112_file 003.mp3
4, 00112_file 004.mp3
5, 00112_file 005.mp3
etc

when you look into these files property, their 'Title' looks like this:

1, 112file01
2, 112file02
3, 112file03
4, 112file04
5, 112file05
etc,

but i want to rename them to:

1, 00112_file 001
2, 00112_file 002
3, 00112_file 003
4, 00112_file 004
5, 00112_file 005
etc

reason is that i want them to remain sequentialy organized when moved into iTunes
- for iPod. otherwise it mix up in the entire iTune.

Any sample script to do this please? i will do this in xp machine.

Additionally, as these .mp3 files inside each folder are just too many (i listed just 5
above though - but its just many), in all i have over 100 folders. Is there a way to
write this script without specifically describing each .mp3 file name. in other words
to write the script in a way that it can loop from one .mp3 file to another inside a
particular folder?


Report Offensive Follow Up For Removal

Response Number 3
Name: dtech10
Date: September 21, 2008 at 14:53:40 Pacific
Reply: (edit)

Hi ericc

Do they all start 112 and what value does the 2nd number go up to, the number after the
file part.


Report Offensive Follow Up For Removal

Response Number 4
Name: ericcc
Date: September 30, 2008 at 08:41:24 Pacific
Reply: (edit)

yes all this files starts with 112!

i dont really get your second question - "and what value
does the 2nd number go up to, the number after the
file part?"


Report Offensive Follow Up For Removal







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home








Do you have your own blog?

Yes
No
I did before
I will soon


View Results

Poll Finishes In 4 Days.
Discuss in The Lounge
Poll History




Data Recovery Software