This is the script I use to compile all forms in a directory using ifcmp90.
set ORACLE_HOME=c:oracle10gdevsuite
for %%p in (”*.fmb”) do c:oracle10gdevsuitebinifcmp90 module=.%%p module_type=form userid=
don’t forget the ORACLE_HOME bit, if it is not set correctly you might end up with an ORA-12538: No such protocol adapter