http://www.codeproject.com/useritems/nscript.asp
A VBScript that lets you run simple console-ish .NET sourcefiles in a script-like manner. Like Nant, it uses the .NET framework compiler (doesn't require VS.NET), and then runs the exe. Complements Nant for simple ad-hoc scripting tasks.
Examples:
nscript sourcefilename.cs
Compiles and runs only specified sourcefilename. Looks in currdir first, then in nscript-sourcedir
nscript *.cs
Compiles every *.cs sourcefile found in currdir into one .exe, then runs
nscript * arg1 arg2
Compiles every .net sourcefile found in currdir into one .exe, then runs passing in cmd-line args arg1, arg2
nscript **
Compiles and every .net sourcefile found in currdir and any subdirs into one .exe, then runs
/ /br