JeroenDortmans
Technical User
I have a website with a database. From this wensite I want to start an Access database (outside the webserver) with a VBA user interface (so it is Windows based) with the right parameter so it directly will display what I want. Starting this application isn't a problem. Just call the path to the application and it will start. But the problem is starting it with the right parameter. When I make a BAT file with the path and the parameter it works. When I put this BAT file on the webserver and "run" it by selecting a link to it, it also works.
So I am thinking of developing a script that will create a BAT file on the web server. This BAT file must have the path to the application and the parameter needed to let the application display what I want in it. So the path is always the same, the parameter comes from the database on the webserver. When on the website the link to this parameter is selected the script must run.
So the BAT file must look like this:
echo off
\\IS0001\Shared_Apps\Progs\Trace2\TraceDirectView 51230/01-219
exit
After "running" the BAT file it must be deleted.
Who can help me with this script (VBS or JavaScript). It is for an Intranet environment and only IE is used.
So I am thinking of developing a script that will create a BAT file on the web server. This BAT file must have the path to the application and the parameter needed to let the application display what I want in it. So the path is always the same, the parameter comes from the database on the webserver. When on the website the link to this parameter is selected the script must run.
So the BAT file must look like this:
echo off
\\IS0001\Shared_Apps\Progs\Trace2\TraceDirectView 51230/01-219
exit
After "running" the BAT file it must be deleted.
Who can help me with this script (VBS or JavaScript). It is for an Intranet environment and only IE is used.