Smiso
Offline
Last seen: 2 years 7 months ago
Joined: 03/07/2019 - 03:05
Hi Smiso,
No you did not do exactly as my screenshot. Your folder level has to be one higher. Set your working folder to Smiso. When you run the script, select the Smiso folder, not the Field Name Dictionary folder.
Please see attached screenshots.
Scott
Hi Scott
Thank you very much.
I have tested the script and followed as per the instructions above, and the script worked very well, thank you. The only downfall might be the fact the you need to rename the header files to put the word "HEADERS", and to ensure naming consistancy between data and header files (just like the attached screenshot). Therefore, if you have a 100 files you will have to rename them, which cannot be help really if you think about it, from a coding point of view. Perhaps as a work around, one should ask whoever will be extracting the data to ensure that the files naming between the data and the header files is consistant and that the header files will need to include the word "HEADERS" on their names (Just like the attached screenshot) or when importing into IDEA to include "HEADERS" as a suffix on header files. What are your thoughts?
Thank you very much for all of your help.
Regards.
Smiso.
Hi Smiso,
You can look into using a renaming program, such as Name It Your Way (NIYoW), to make renaming easier.
Scott
Hi Scott
Thank you. I found another that woorks even better:
https://www.geckoandfly.com/27387/batch-rename-files/
File Renamer Basic.
Regards.
Smiso.
Pages