Create compliation File FMX to Another Location [message #176792] |
Fri, 09 June 2006 11:06 ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
sweetkhaliq
Messages: 200 Registered: April 2006
|
Senior Member |
![sweetkhaliq%40yahoo.com](/forum/theme/orafaq/images/yahoo.png)
|
|
I am working in forms 6i. When i compile the form , developer create the FMX file in the same folder in which the sourc file exist. I want that when i run my form or compile my form the FMX file creates on another folder which i mention. Is there any way that FMX file creates on different Folder. I do not want that i first copy my FMX file and place it to desire folder.
thanks
[Updated on: Fri, 09 June 2006 11:11] Report message to a moderator
|
|
|
|
|
|
|
|
|
|
|
|
|
Re: Create compliation File FMX to Another Location [message #177783 is a reply to message #177759] |
Fri, 16 June 2006 09:36 ![Go to previous message Go to previous message](/forum/theme/orafaq/images/up.png) ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
![](/forum/images/custom_avatars/43055.jpg) |
Maaher
Messages: 7065 Registered: December 2001
|
Senior Member |
|
|
- Don't beg. It won't help. you could tell us what you tried so far with the example I gave you. It is not that hard.
- "I hv", "Plz send" Try to write in FULL sentences. Keep your IM speak for your IM client. It is very unprofessional and impolite to use this abbreviated language.
- We don't send code. Ask questions here, get replies here. That way anyone can benefit from the answers given.
- Try google: I did and it lead me to this page. All you have to do is add a couple of lines in the batch file to move the files from one directory to another.
MHE
[Updated on: Fri, 16 June 2006 09:36] Report message to a moderator
|
|
|
Re: Create compliation File FMX to Another Location [message #177786 is a reply to message #177783] |
Fri, 16 June 2006 09:40 ![Go to previous message Go to previous message](/forum/theme/orafaq/images/up.png) ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
![](/forum/images/custom_avatars/43055.jpg) |
Maaher
Messages: 7065 Registered: December 2001
|
Senior Member |
|
|
I stole the code from the link mentioned above and tweaked it a little bit. Like I said before: it is not a big deal. I post it so others can use it as well. Thanks to Francois Degrelle for the original code (otherwise I would have to look up the loop mechanism in DOS myself )
Anyway, here goes:
@ECHO OFF
if "%1"=="" goto error
if "%2"=="" goto error
if "%3"=="" goto error
cls
cd %2
Echo compiling libraries....
for %%f IN (*.pll) do ifcmp90 userid=%1 module=%%f batch=yes module_type=library compile_all=yes window_state=minimize
ECHO Libraries compilation done
ECHO ----------------------------------
ECHO Moving Libraries....
for %%f IN (*.plx) do move %%f %3
ECHO Libraries move done
ECHO ----------------------------------
Echo compiling menus....
for %%f IN (*.mmb) do ifcmp90 userid=%1 module=%%f batch=yes module_type=menu compile_all=yes window_state=minimize
ECHO Menus compilation done
ECHO ----------------------------------
ECHO Moving Menus....
for %%f IN (*.mmx) do move %%f %3
ECHO Libraries move done
ECHO ----------------------------------
Echo compiling Forms....
for %%f IN (*.fmb) do ifcmp90 userid=%1 module=%%f batch=yes module_type=form compile_all=yes window_state=minimize
ECHO Forms compilation done
ECHO ----------------------------------
ECHO Moving Forms....
for %%f IN (*.fmx) do move %%f %3
ECHO Forms move done
ECHO ----------------------------------
goto end
:error
echo.
echo usage: instform [user/password@connect_string] [source directory] [destination directory]
echo.
goto end
:end
Copy and paste into notepad and save as 'instforms.bat".
Enjoy!
MHE
[Updated on: Fri, 16 June 2006 09:40] Report message to a moderator
|
|
|
|
|