Batch Script for FMB to XML and XML to FMB

December 16, 2011
Below you can download my script that can convert all the Forms modules in a specific directory to XML and vice a versa.
This is a neat trick to help you search and replace things in the forms. For example you can check properties of specific items, change field lengths and seacrh for links to external items in batch.
This has been a LIFESAVER for me in various projects. I have been able to use it to change font sizes and colours across hundreds of forms. I have even been able to put code in every form in my system in the when-new-form triggers.
Hope you guys enjoy!
The script is relevant for Oracle Forms Developer,  9.0.X or higher

It requires write privileges in the destination directory and read privileges in the source directory.

When copying the script be aware to remove line feeds in the list of parameters for the executables.
Please note that if you are FTPing this script from a Windows machine please do it in ASCII mode.

PROOFREAD THIS SCRIPT BEFORE USING IT! Due to differences in the way text editors, e-mail packages, and operating systems handle text formatting (spaces,tabs, and carriage returns), this script may not be in an executable state when you first receive it. Check over the script to ensure that errors of this type are corrected.