DBAsupport.com Forums - Powered by vBulletin
Results 1 to 5 of 5

Thread: Using HOST command from Forms

  1. #1
    Join Date
    Jan 2001
    Posts
    18
    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




  2. #2
    Join Date
    Feb 2001
    Posts
    125
    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

  3. #3
    Join Date
    Jan 2001
    Posts
    18
    Dear PSoni,

    Thanks for the update.

    I faced the problem while using Forms 4.5 under Windows 2000?

    Sundar
    S. Sundar,
    Technical Specialist,
    Computer Software & Solutions,
    Muscat,
    Sultanate of Oman.

  4. #4
    Join Date
    Feb 2001
    Posts
    125
    I checked it in Form 6i Under Windows 95/98.

    P.Soni

  5. #5
    Join Date
    Jan 2001
    Posts
    18
    Thanks.

    Sundar

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Click Here to Expand Forum to Full Width