Home » Developer & Programmer » Forms » Run batch file through Form
Run batch file through Form [message #539281] Thu, 12 January 2012 23:29 Go to next message
swapnil_naik
Messages: 268
Registered: December 2009
Location: Mumbai
Senior Member

I create a form with button....whenever i click button my batch file should be run..

My batch file code :
@ECHO OFF
cd\
ipconfig /all
pause 



When-button-pressed trigger :
======================================
client_host('D:\test_ip\a.bat');


When i double click .bat file, it will get proper info.

But when i call this .bat file thru form, it will show blank screen..

I dont know why this .bat file not running ??
Re: Run batch file through Form [message #539283 is a reply to message #539281] Fri, 13 January 2012 00:11 Go to previous messageGo to next message
Littlefoot
Messages: 19699
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
Being a member since 2009, and you still don't know how to properly ask a question ... what a shame.

What Forms version do you use? Where is that form run from (your PC? Server? Is it deployed to web?)? Where is that .BAT file located (your PC? Server? Database server? Application server?)?
Re: Run batch file through Form [message #539284 is a reply to message #539283] Fri, 13 January 2012 00:19 Go to previous message
swapnil_naik
Messages: 268
Registered: December 2009
Location: Mumbai
Senior Member


Quote:

Being a member since 2009, and you still don't know how to properly ask a question ... what a shame.


Extremely Sorry For that...



Quote:

What Forms version do you use?

Forms [32 Bit] Version 10.1.2.0.2 (Production)

Quote:

Where is that form run from (your PC? Server? Is it deployed to web?)?

I run this form on my pc..Its deployed on web..

Quote:

Where is that .BAT file located (your PC? Server? Database server? Application server


.BAT file location on my pc ..D:\test_ip folder...

Previous Topic: NEED Book & Document
Next Topic: Different output in forms and pl sql
Goto Forum:
  


Current Time: Sat Oct 25 16:37:42 CDT 2014

Total time taken to generate the page: 0.07807 seconds