I am trying to run a bat file from ASP and I am new to asp.
Expand|Select|Wrap|Line Numbers
- set wshell = CreateObject("WScript.Shell")
- wshell.Run("c:\file.Bat")
This bat file is trying to create a folder(My actual requirement is to interact with a application and not creating a folder).
But the folder is not getting created. I also tried other DOS commands in bat file but nothing happened.
Is their something I have to do to run bat files before using the above script?