batch file and PKZIPC utility [message #287839] |
Thu, 13 December 2007 14:18 |
fishkill777
Messages: 1 Registered: December 2007
|
Junior Member |
|
|
I call a batch file from Oracle forms by clicking on a button. The batch file calls pkzipc utility
to extract the contents of a zip file, and place it in the destination xyzfolder. However, this is not
working.
The batch file and PKZIPC are located on the same server. When I run the batch file on the server,
pkzipc utility works fine. When I call the batch file from Oracle forms, then the utilty is not working.
When-button-pressed trigger has the following code:
declare
the_command varchar2(2000) := '\\ABCserver\ABCfolder\abcd.bat';
begin
host(the_command);
message('done');
end;
batch file code :
cd "\\ABCserver\c$\Program Files\PKWARE\PKZIPC"
pkzipc -extract -silent -nofix -overwrite -directories -logfile \\ABCserver\c$\xyzfolder\26.zip \\ABCserver\c$\sssfolder
exit
How do I resolve this ?
Thanks
SR
|
|
|
|