Not just for the web, VB and JS scripts work over Office and Windows in general. Much more powerful than old .bat files on MSDOS. Use new ActiveXObject to load the interface you want. whether its file system, database, even ASP.
Windows shell host scripts - besides being one of the most easiest way to make a trojan horse, they have their productive uses too. I just recently re-reminded myself of how to create app-like software, using it.