|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.
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
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.)
|On UNIX Systems||On Windows 98||On Windows NT|
command.com /C dir
cmd /C dir
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>).|