Servertec | #exec

Content Introduction Release Notes Features FAQs Requirements Installation Add-ons How To Change Log Future Plans Knowledge Base Documentation Conventions Users Reference iServer API Servlet API CGI SSI #config #echo #exec #flastmod #fsize #include Servlets Config Files Log Files Classes Directory Tree Samples Sales Legal Feedback |
Used to insert the output of an executable program. #### Syntax <!-- #exec type = "command" --> #### Parameters
type |
CGI | Execute a Command Gateway Interface (CGI) command. The command is a virtual path to the URL encoded executable. Spaces are replaced by +. Parameters appear after the command, after a ?. Parameters are separated by &. Parameters use the following syntax: parameter=value
CMD | Runs an executable or shell command. The command is a physical path to the executable.
command | The command to execute.
#### Notes SSIncludeServlet uses exec parameter to specify the shell command to use when performing #exec directive. Before #exec directive can be used Shell Access must be enabled in the iServer Administration - Server form. #### Examples <!-- #exec CMD = "c:\command.com /c dir" -->
top of page
| Copyright © 1997-2000 Servertec. All rights reserved. Last Modified: Sun Jan 09 19:34:12 EST 2000