call batch file from Oracle Forms 10g [message #462607] |
Fri, 25 June 2010 04:40 |
Shaheer
Messages: 50 Registered: June 2008 Location: Pakistan
|
Member |
|
|
Hi,
I need Help. I want to call .bat file from oracle froms 10g.
I tried given below code but failed.
---------------------------------
declare
v1 varchar2(200);
begin
v1 := 'D:\Folder\Logicalbackup.bat';
HOST('cmd /c start'||v1,no_screen);
--HOST(v1);
end;
-----------------------------
The Logicalbackup.bat file contains:-
Cd d:\oracle\product\10.2.0\db_1\bin
d:
exp mw6/mw6@mw file=d:\mw6\backup\backupRGLHR.dmp log=d:\mw6\backup\backuplog\RGLHR.log
PLEASE HELP ME.... I WANT TO CALL .BAT FILE FROM ORACLE 10G FORMS.
|
|
|
|
Re: call batch file from Oracle Forms 10g [message #462715 is a reply to message #462693] |
Sat, 26 June 2010 01:16 |
Shaheer
Messages: 50 Registered: June 2008 Location: Pakistan
|
Member |
|
|
thanks for reply.
My OS is window XP and i am running my application through Oracle Forms & Report Services (Standalone).
.bat file is on local machine and .bat file not run through form. Please tell me how to use CLIENT_HOST in code.
|
|
|
|
|