We've had an SD Card currupt with CNC program data (text files). I've recovered the data using power quest data recovery and recovered most of the data. However, all the files are names sequential from 1 to 1000. I want to rename these files based on the first item on the second line
of the contents of the files. The first few lines of a program are located in the code window
As you can see the file always starts with a % sign. The second line starts with the program number which is a letter "O" and a 4 digdit number. I want the file renamed to the "O1118". Any ideas how this can be performed?
(DRILL & C/S/K)
(SET X +HALF EXCESS)
(SET Y+ HALF EXCESS)