Code Comments
Programming Forum and web based access to our favorite programming groups.Just wondering if anyone had some quick tools for converting filenames to lower case. Another useful tool would be one that changes all letters but the first to lc. thanx, pk
Post Follow-up to this message"Preserved Killick" <johnvhite@texoma.net> wrote in message news:1114608120.187029.122930@l41g2000cwc.googlegroups.com... > > Just wondering if anyone had some quick tools for converting filenames > to lower case. Another useful tool would be one that changes all > letters but the first to lc. Like this? % set fName "MYFILENAME.TXT" MYFILENAME.TXT (bin) 2 % (bin) 2 % string tolower $fName myfilename.txt (bin) 3 % string totitle $fName Myfilename.txt (bin) 4 % Jeff
Post Follow-up to this messageYep, was unaware of totitle. No excuse for tolower though. (Mr Duh now remembers having read about it, but has regexp on the brain.) I'll throw in a glob and file rename and get it fixed. Thanks
Post Follow-up to this messagePowered by vBulletin
Copyright 2000-2006 Jelsoft Enterprises Limited.