Visual Studio uses the command DEVENV which allows you to run VB.NET or C# scripts created in Visual Studio from the command line. Below is an example of a typical command which supplies the solution file name:

C:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE>DEVENV /run "C:\Users\johngi\Documents\Visual Studio 2010\Projects\MySilk4NETProject\GMO-Test1.sln"

Use the command devenv /? to display a list of all available devenv switches in the Command window, with descriptions of their uses.