The information in this article applies to:
SUMMARYDOS batch files are run by default under Microsoft's Internet Information Server 3 (IIS3). But under Internet Information Server 4 (IIS4), several things must be configured in order for batch files to run on the server side. MORE INFORMATION
Specifically, the configuration steps for IIS4 are as follows:
Copy the following to a file called RunMe.bat:
Note that send HTML tags < and > are considered to be special characters for the shell, and therefore must be escaped by a carot character (^). To test a sample batch file place it to the virtual directory on the server with execute persmissions. The URL to invoke it would look like this:
Many people had batch (command line or DOS) applications that ran under IIS3 and those relied on reading stdin and writing to stdout. Now that your IIS4 server is configured properly, you should be able to run those same applications as you did under IIS3 and have them behave the same. NOTE: Once IIS is configured to run batch files, configuring virtual directory with write and execute permissions can open a very big security hole. It could be possible to upload and ran batch file with any command. © Microsoft Corporation 1999, All Rights Reserved. Additional query words: kbDSupport
Keywords : kbInternet |
Last Reviewed: March 27, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |