-
yes, but then hypothetically...that means i have to recompile whatever i change. i use Fedora Core 3.. so basically, i'm lazy and wait for rpm's to be made so then i install the rpm and booyah, updated whatever. lol also if i could change options to accomplish what i want, i would rather do that as i've had little to no experience editing the programs i use. however, i do know how to make a program from the source, so trying sounds fun.
thanks :) lol, that takes away a lot of the curiousity. even though his code now becomes useless :( lol
-
>> Perhaps the real answer is to pick different options on your CD burning software?
CDR's are less than a dollar - get the options right and burn a new one.
Or use anonytmouse's script. Save the first example in a dot VBS file, or the second example in a dot JS file. Edit the sFolder variable and double click the file - you're done.
gg
-
i know how much CDR's are, i work at staples :) they're usually less then a quarter too ;) (they're about 20 cents a piece) but ya see.. its called a BACKUP cd for a reason. lol this time, it was made so that i could reinstall windows & linux because at the time, i had no windows and windows wouldn't install. but then i found a way to get both (i had to unplug one of my hard drives as it was causing things to stop working after i booted off the cd-rom and it told me it was checking my hardware) so i burned a backup cd of whatever i wanted to save, killed the partition and went on with reinstalling :)
but thanks for the extension suggestion :) lol
is there a way you can make it so it doesn't make you click "Ok" for every filename it changes? (worked like a dream btw)
-
Just remove "WScript.Echo" line. (Surely, you could've figured that out with some effort.)
Code:
// RenameSomeFiles.js
var sFolder = "C:\\SomeFiles\\"; // Don't forget trailing backslash
var fso = new ActiveXObject("Scripting.FileSystemObject")
for ( var e = new Enumerator(fso.GetFolder(sFolder).Files);
!e.atEnd();
e.moveNext() )
{
var sNewFileName = e.item().Name.replace(/_/g, " ");
sNewFileName = sNewFileName.toLowerCase();
if ( sNewFileName != e.item().Name )
{
// WScript.Echo("Changing '" + e.item().Name + "' to '" +
// sNewFileName + "'..." + "\r\n");
e.item().Move(sFolder + sNewFileName);
}
}
gg
-
haha...wow. :) yea.. but it was really early in the morning and i was still up, lol. *shrug* thanks tho, haha
-
btw if you're still interested in sorting through directories, renaming files etc...
http://www.cs.cf.ac.uk/Dave/C/node20...00000000000000