Launch a script from an intranet web page

Print this Topic

A Prism user shared these tips for launching Prism from an intranet. He was using Windows 2000. We don't know if this would work with other Windows versions, and doubt it can be adapted for the Mac.

First, create a batch file on your web server that calls (using the Call command) the program and individual configuration files.

For example, create a file called StartPrism.bat.

Call "N:\Program Files\PRISM5\PRISM.EXE"

or

Call "F:\Prism5\Prism.exe" @"F:\PRISM\PRISMSCRIPTS\DOIT.PZC"

Of course, you'll need to adjust this example depending on where you have installed Prism. The drive letters are aliases for the server drive. In the first example, the first part opens Prism and the second part tells Prism where to store configuration files. In the second example, the second part launches a Prism script.

Next edit your web page to include hyperlink to the batch file. For example, the HTML would have a link labeled "Prism" that links to the file StartPrism.bat



Copyright (c) 2007 GraphPad Software Inc. All rights reserved.
URL: http://www.graphpad.com/help/Prism5/Prism5Help.html?launching_a_script_from_an_intranet_web_page.htm