I'm a novice perl user who has Active Perl installed on my Windows 7 computer.
I have a directory full of files with names like text134.txt and the first line of each contains what I would like to change the filename to. For example, text167.txt consists of these seven lines:
1 set camera to M
2 press FUNC SET
3 select Digital Macro (tulip w/D)
4 press FUNC SET
I would like to change the file's name to canon camera.txt or canon_camera.txt (the case of the initial letter is immaterial to me)
Would some kind soul write a simple script for me? Thanks.