#### Activating Command Prompt script through HTML form

Good day,

I am trying to integrate my batch file into a basic web based form in HTML. Now, my page is not server side, does not use php, just plain html. First, I am wondering if the command prompt within Windows can be opened and run a small script within HTML forms?

If its possible, I am trying to integrate my current batch file which has the following code:

Code:

@echo off
grep --mmap -w %1 d:\int\* |sort /+20 > %1.sl
del %1.sl