|
 |
asp_web_howto thread: Re: Calling Batch Files
Message #1 by "Pedro Tavares" <pedrotavares@c...> on Thu, 9 Jan 2003 11:57:32
|
|
I'm having the same problem, and I wonder if you allready have a solution.
Thanks in advance.
> Hello All,
>
> If any one knows how to actually execute DOS batch files through ASP
> please let me know, I also need to pass some input parameters with file
> name to process batch file, and depending upon batchfile's result/output
i
> want to display that in web page! I am trying to build small web
> application where user can get on website and start executing scripts
> through web remotely on the server! it is for intranet, so should not be
> security issue!(hopefully with Microsoft anything is possible)
>
> So for i.e server has batch file call dosBat.bat and i want to execute
it
> when user submits that file name with parameter for that file, through
asp
> page!
>
> any help is appreciated!
>
> Thanks
> Prayag
Message #2 by sashi@a... on Thu, 16 Jan 2003 12:06:58
|
|
Directly Executing Dos From ASP is Not possible
But U can Make A ASP Component in VC or in VB
And u can use server.createobject to get a intance of the component
and pass the values through the funtions
if ur not able to make ASP component Pleas mail me i will send
sample code or the file to u
|
|
 |