Weatherton
New member
Hey all, I spent about an hour yesterday renaming files based on how I had arranged them in a grid Macromedia dreamweaver. After having done this, I realized that what I was doing could be easily automated if I had the skills to write the code. I am going to look into doing so but I'm not exactly a l33t coder so it will be difficult for me... maybe someone on here will hear my cry and help me.
Here's how I described it to a friend over AIM:
NG Dru: you browse and direct it to a textfile
NG Dru: in that textfile it searches for a special character
NG Dru: maybe "@" or something
NG Dru: that will be at the beginning of every new file I want it to perform a function on
NG Dru: but it doesn't have to have the whole filename after it, just a differentiating piece, like a unique number
NG Dru: under that at sign/number I would have the name of the file (this time exact) I want it to rename it to
NG Dru: by rename, I mean either actually rename the file or make a copy of the file and name it that name
NG Dru: I think the copy may actually be a better option since sometimes I would want multiple copies with different names of the same file
NG Dru: so, an example file:
@271
mariokart64##64646#46.png
@285
mariokart64##64646#56.png
NG Dru: I think I may want the original to stick around, that's the differentiation I was referring to
NG Dru: that due to the possibility of
NG Dru:
@271
mariokart64##64646#46.png
@285
mariokart64##64646#56.png
@300
mariokart64##64646#58.png
mariokart64##64646#54.png
mariokart64##64646#53.png
NG Dru: so, something like the 300
NG Dru: would look for a file with '300' in the name (I know there would only be one file like that so once it finds it, it stops)
NG Dru: and then makes a new copy for each name
NG Dru: listed before the next special character (or the end of the file)
Here's how I described it to a friend over AIM:
NG Dru: you browse and direct it to a textfile
NG Dru: in that textfile it searches for a special character
NG Dru: maybe "@" or something
NG Dru: that will be at the beginning of every new file I want it to perform a function on
NG Dru: but it doesn't have to have the whole filename after it, just a differentiating piece, like a unique number
NG Dru: under that at sign/number I would have the name of the file (this time exact) I want it to rename it to
NG Dru: by rename, I mean either actually rename the file or make a copy of the file and name it that name
NG Dru: I think the copy may actually be a better option since sometimes I would want multiple copies with different names of the same file
NG Dru: so, an example file:
@271
mariokart64##64646#46.png
@285
mariokart64##64646#56.png
NG Dru: I think I may want the original to stick around, that's the differentiation I was referring to
NG Dru: that due to the possibility of
NG Dru:
@271
mariokart64##64646#46.png
@285
mariokart64##64646#56.png
@300
mariokart64##64646#58.png
mariokart64##64646#54.png
mariokart64##64646#53.png
NG Dru: so, something like the 300
NG Dru: would look for a file with '300' in the name (I know there would only be one file like that so once it finds it, it stops)
NG Dru: and then makes a new copy for each name
NG Dru: listed before the next special character (or the end of the file)
Last edited: