@Echo off Rem ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: Rem CorreLog Sigma Web Framework, Simple Contact Form. Rem This file is an example of a simple contact form, written as a Rem Microsoft DOS batch file. The batch file creates an input form, Rem and stores comments in the ".\comments.txt" file, in the root Rem directory of this installation. Rem Save this file as sigma-web\900_Comment.cmd, or some other Rem suitable location within the sigma-web folder. This will create Rem a "Contact" tab at the top of the display. Rem This code has been placed in the public domain by: Rem CorreLog, Inc. Rem http://www.CorreLog.com Rem Rights to use and modify this program for any reason and purpose Rem is hereby granted to any and all parties. CorreLog, Inc. Rem accepts no liabilities and makes no claims about any use of this Rem program, or any adaptation of this program, whatsoever. Rem ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: Rem Start the form: Sigcmd.exe sg_form /sigma-cgi/web.exe?%0% Rem Branch on submit to display a receipt: if exist %S_WIN32_POST% goto DISPLAY_RECEIPT Rem Display the form: Echo ^ Echo ^ Enter your name: Echo ^ ^ Echo ^ Enter your e-mail address: Echo ^ ^ Echo ^ Enter your comment: (200 chars max) Echo ^ ^