# WEBRUN
> [HTML Version](webrun_lit.htm)
_Added October 2016_
**WEBRUN url \{args\}**
WEBRUN.LIT is the front-end to RUN.LIT which enables A-Shell's [WEBCACHE system](webcache.htm.md). WEBRUN downloads the specified program from _url_ into the webcache directory and then runs it, passing any _args_ to it. If _url_ contains spaces, it must be quoted, and if any _args_ are specified, there must be at least one space between _url_ and the _args_. If the url filename has no extension, .run is assumed. It also enables the webcache feature and all options—equivalent to SET WEBCACHE ENABLE,PROG,OPENI,LOOKUP—and sets the default URL based on URL given minus the filename.
Note that this command bypasses the normal search path: it will ignore a copy of the target program in the current \[p,pn\], \[p,0\] or \[7,6\] directories.
**Examples**
.WEBRUN http://www.mysite.com/app1/myprog
This command:
• enables all webcache options
• sets the repo to http://www.mysite.com/app1
• checks local webcache for myprog.run; if not there, tries to download it from the URL.
• tries to execute it from the webcache directory.
.WEBRUN "http://www.another site/app2/prog2.run" /demo
Similar to previous example except that it also passes the command line switch "/demo" to the target program prog2.run.
**History**
2016 October, A-Shell 6.3.1529 and 1531: WEBCACHE function added to A-Shell. The module includes [a basic description](webcache.htm.md), [the SET.LIT options for WEBCACHE](webcache_in_set_lit.htm.md)**,** new functions [WEBRUN.LIT](learningvue2.htm.md), [MX\_WEBCACHE](mx_webcache.htm.md) and [AG\_WEBCACHE](ag_webcache.htm.md).