-
We can use HOST command from Forms to call a OS command.
Syntax is
HOST (Command);
START (OS Command) can be used as part of the command to open a new window for the new program gettting invoked.
Example :
HOST ('Start notepad');
Under Windows 2000, the above command opens a new windows for notepad and the control comes back to the calling form and the execution continues.
HOST ('Start /wait notepad');
The above command should open notepad and wait till it is closed. Only then control should come back to the calling form.
BUT IT DOES NOT BEHAVE SO.
ANYONE KNOWS WHY ????
Thanks in advance.
Sundar
-
I am not getting such problem ;
Even when i use command
host('notepad');
it opens notepad and resides there
untill we don't close the notepade
perhaps there is some problem when \wait option
thanks
PSoni
-
Dear PSoni,
Thanks for the update.
I faced the problem while using Forms 4.5 under Windows 2000?
Sundar
-
I checked it in Form 6i Under Windows 95/98.
P.Soni
-