.Net command-line shell

I seeing somewhere a little while ago that there was a tool to give you access to the .Net Framework from the windows command prompt via an actual .NET shell.  That's so ludicrously useful I'm an idiot for not downloading it right then and there but now I can't find it.  Does anyone know what the project is called and/or has a link?


Thanks a lot,


0 togakangaroo 1/21/2008 9:30:07 PM

If you installed the .NET framework all you have to do is go

START -> RUN -> cmd

should already be hooked in.


alternatively you can use this as a batch file :

%comspec% /k ""C:\Program Files\Microsoft Visual Studio 8\VC cvarsall.bat"" x86  < This is the VS2005 path yours may be different.  should be in your framework folder in start menu some where (under tools)


0 mcmcomasp 1/21/2008 9:41:01 PM

Are you talking about PowerShell?



0 oPc 1/21/2008 10:48:30 PM

Sorry guys, neither one of those is what i was talking about, the software I remember was a true, honest .NET shell - like running python from the command line.

>>> using System.IO;

>>> if(File.Exists(@"C:\somefile.txt")) Console.Write("Yay, file exists");

I AM interested in what mcmcmasp recommended though, I don't quite understand what its supposed to do.  I get the "Setting environment for using Microsoft Visual Studio 2005 x86 tools." message but what does that actually mean? 

0 togakangaroo 1/22/2008 2:51:33 PM

i think your talking about the Microsofr Command Shell:


0 mcmcomasp 1/22/2008 3:04:26 PM

Well, no...that's not what I'm talking about, although MSH is pretty cool too.  Is that out yet? 

Oh Well.

As far as I remember it was an open source project. 

I would use it generally just as a quick tester and prototyper so no large loss of productivity for not having it but if my vague descriptions stir up someone's memory please let me know.

0 togakangaroo 1/22/2008 3:49:56 PM

Hey togakangaroo...

 I just had another read of this thread, are you looking for something that you can test code snippets with?

If so, try this:


This link gives you a quick Idea of what the tool can do - http://blogs.msdn.com/powertoys/archive/2004/05/19/135088.aspx

0 oPc 1/29/2008 7:53:18 PM
Been a long time since I posted this but maybe someone will care.
This: http://csscript.net/ is what I was talking about.

I found it finally via codinghorror's .NET open source grant.  It's C# Script - an open source C# for .NET scripting framework.  Way useful.
0 togakangaroo 4/14/2008 4:54:48 PM

(Thread closed)