shell Tag

Format: <shell> heitml </shell>

Purpose: The shell Tag allows you send a command to the Operating System, the results of which are displayed in the Browser page.

Anything you type between the opening and closing shell tags is processed in HTML mode where the resulting string output is not sent to the browser, as usual, but to the Web server's Operating System.

Configuration: The shell tag uses the directory specified by the configuration option shelltemp to write a temporary file in which the output of the shell command is redirected.

The shell tag is not allowed in secure mode.

Here's an example that would produce a directory listing within the Web Page. (Remember to use the HTML <pre> and </pre> Tags around the outside for proper formatting.)

Example:

On UNIX Systems On Windows 98On Windows NT
<shell>
ls -l
</shell>
<shell>
command.com /C dir
</shell>
<shell>
cmd /C dir
</shell>

Tip: To get a directory listing within a Web Page, you can also use the directory() function.

Caution! Due to restrictions in on , the shell tag does not function correctly on this platform.

Note: The shell Tag is Case Sensitive, which means heitml will not recognize it if you use capital letters (e.g. <SHELL>).

This page was dynamically generated by the web application development tool RADpage of H.E.I.
© 1996-2018 H.E.I. All Rights Reserved.



Homepage
Intro/Features
Component Guide
Programming
  Language Guide
  Language Ref.
    General Design
    Lexical Structure
    Expressions
    Objects
    Methods
    Classes
    heitml Tags
      ? Tag
      assign Tag
      break Tag
      callenv Tag
      dbdatabase Tag
      dbquery Tag
      dbupdate Tag
      def Tag
      defautoclose Tag
      defbody Tag
      defclass Tag
      defcontpara Tag
      defenv Tag
      defhtml Tag
      definpara Tag
      defpara Tag
      defremovecdata Tag
      deftranspara Tag
      defwysiwyg Tag
      for Tag
      forin Tag
      forsep Tag
      if Tag
      elsif Tag
      else Tag
      include Tag
      includeonce Tag
      inherit Tag
      let Tag
      mail Tag
      return Tag
      shell Tag
      while Tag
      writefile Tag
      \ Tag
    heitml Functions
    Advanced Functions
    Database Access
    Global Variables
    Form Fields
    Server Variables
    Sessions
    heitml Syntax
  Component Ref.
  Class Library
  User Components
  Tryout Form
  Tutorial
  New Features
  heitml 1
User Guide
FAQ
Mailinglist
Discussion Group
Services
Pricing/Register
Download
Frame
 
Contact
 
 
 
Search: