'How to execute a bat file from a classic asp page on the server

I have a simple bat file that runs an access macro when executed, i need to know how to execute this bat file from a asp page, i have given all the permissions to the iusr_machinename for that particular folder containing the script file and the asp file.

Thank you

Note: I don't want to run anything on the client system, i just want to run a bat file on the same system the asp application is running



Solution 1:[1]

I finally make this to run changing IIS Application Pool defaults ( identity property ) from "ApplicationPoolIdentity" to "LocalSystem"

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 JKK