.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,


1/21/2008 9:30:07 PM
asp.net.getting-started 91979 articles. 4 followers. Follow

7 Replies

Similar Articles

[PageSpeed] 9
Get it on Google Play
Get it on Apple App Store

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\vcvarsall.bat"" x86  < This is the VS2005 path yours may be different.  should be in your framework folder in start menu some where (under tools)


1/21/2008 9:41:01 PM

Are you talking about PowerShell?



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? 

1/22/2008 2:51:33 PM

i think your talking about the Microsofr Command Shell:


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.

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

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.
4/14/2008 4:54:48 PM

Similar Artilces:

------_=_NextPart_001_01C6429F.D89AA417 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hello, Net::LDAP Net::LDAPS Is there a possible to LDAP bind with an encrypted (SHA, SSHA, CRYPT, ....) password? I don't like to write the secret password to the perl file. Best regards Barbara Wilbert ------_=_NextPart_001_01C6429F.D89AA417-- Wilbert Barbara (CI/OSI) * wrote: > Hello, > > Net::LDAP > Net::LDAPS > > Is there a possible to LDAP bind with an encrypted (SHA, SSHA, CRYPT, > ......

Starting an Ajax.net Application in .net
i am new to ajax.net could any one give me simple ajax,net example so that i start building on my ajax skills please.........  I started with the todolist video on the main asp.net/ajax page, and its all you need to know to get started. http://download.microsoft.com/download/0/f/6/0f651a0f-6f2b-4497-b061-e1b2825e22e0/MSAJAX-ToDoList.wmv Don't forget to click "Mark as Answer" on the post that helped you.This credits that member, earns you a point and marks your thread as Resolved so we will all know you have been helped. http://asp.net/ajax/    ...

how to get start with .NET
the net help people installed  to my desktop 1-microsoft visual studio .NET enterprise developer 2003 2-microsoft .NET framework 1.1 what else do i need ...???  and how can i try with some simple code in VS.Net and run it to see wat happen...????? please help If you want to develope web applications, then you'll also need IIS on your PC.  That'll require XP-Professional or Windows 2000/2003, but XP-Home edition won't allow IIS installation. As for how to get started, you can search the web for some tutorials or buy a good book on VS.  The topic is way too vast to...

Getting Start With .net
hi i'm intersted to learn asp.net (vb or delphi) . i programming with delphi6 but i'd like to tp know something about programming in internet specially with .net . i hear about microsoft.net with delphi 7 that i can programming with delphi in .net .... is it right ? what 's our opinian about it ? and better to learn Vb.Net or continu with delphi(or delphi.net) thanks. Ali Darabian I think there is some support for Delphi in .Net. However, you will find much more support from the user community if you choose a more popular language such as VB.Net or C#. Since your al...

Getting "Problem in Mapping Fragment starting at line ..." error when trying to create table mappings for table associations in ADO.NET Entity Framework

How to get RS (From VB6) to .NET (VB.NET)
Hi Friends,         I have requirement, there is one function in VB6 it returns a RS, I need to call that function in  VB.NET, how to get those values into .NET, if can any body can help (pass me some code snippets), that will be greate, Thank you.Madhu... -Madhu hey guys i got this one just by using fill method.-Madhu...

I am not getting my mail open on my net as net is running
Name: Email: rmbala91atgmaildotcom Product: Firefox Summary: I am not getting my mail open on my net as net is running Comments: My mail is not getting opening. Browser Details: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv: Gecko/20100401 Firefox/3.6.3 From URL: http://hendrix.mozilla.org/ Note to readers: Hendrix gives no expectation of a response to this feedback but if you wish to provide one you must BCC (not CC) the sender for them to see it. ...

Differences between .net 1, .net 1.1, .net 2.0 and .net 3.0
Hi, This seems to be a common question, but i havent got an answer yet:(Can, any one please explain me the differences between these versions.If you keep your feet firmly on the ground, you'll have trouble putting on your pants! Have a look into this links http://en.wikipedia.org/wiki/.NET_Framework http://blogs.msdn.com/mohammadakif/archive/2006/12/03/net-3-0-different-versions-of-the-net-framework.aspx http://www.codeproject.com/aspnet/ComparisonASP1xASP20.aspAshok Rajawww.iGold.inDon't forget to click "Mark as Answer" on the post that helped you. This credits that m...

Command Line in VB.NET
Hi all, i wanna run this line in command prompt .."C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis.exe -s  W3SVC/" & siteID & "/Root/" but i dunno how to call it using vb.net. i try to run it manually by click start>run>cmd.......and enter the line above.......it works...... but now i wanna call this line so that it run in command prompt..........how can i do that in vb.net ? pls reply me as soon as possible if anyone of you know the solutions......thanks hi all, i try to call the cmd.exe to run the specific action by using the code below... Dim objProc...

To .NET or not .NET, that is the question
I'm running WinXP pro 32-bit, meaning I've got the version 1-dot-something of .NET that XP came with. I've been looking for various softwares, and more and more often come across .NET version 2 being prerequisite. No urgency for me re. my questions to this group - so far I have just decided to hit the red X on those download pages - but the desire for this newer version of .NET seems to be growing for me. Firstly, according to my (limited) research, newer .NET versions are inclusive of the previous ones, and the current version seems to be 3.5. So if I go for i...

converting to vb.net from c#.net authorize.net
authorize.net offered me some sample code when I signed up with them the only problem is the sample code is in c#.net but my page that they type all of their credit card into is vb.net <code><%@ Import Namespace="System.Net" %> <%@ Import Namespace="System.IO" %> <script language="C#" runat="server"> void Page_Load(Object Src, EventArgs E) { myPage.Text = readHtmlPage("https://certification.authorize.net/gateway/transact.dll"); } private String readHtmlPage(string url) { ...

where to get .net command prompt?
Hi, What is the smallest package I can download that contains a .net command prompt so that I can install the IDM exchange 2007 service? It would be helpful if the instructions would mention something about it, since a base install of MS Server 2003 doesn't seem to have a .net command prompt available, but the instructions for allowing exchange 2007 account management expect you to have it. The only mentions I find about it are that it is part of the Visual Studio packages. Thats alot to download just to be able to install a service. Thanks, Mike -- Mike, It ...

Sending SMS using vb.net or C#.net using vb.net or c#.net
Hi  My requirement is I hav one csv file with these fields id,mobilenum,messgae,status.intiallu staus is 0. once i read the all fileds and take that mobile number.using tat mobile number  i need to send sms .after sending sms i shuld change status as 1 How to send sms thru coding (please dont provide any links.if it is provide also please give working links becox i checked codeproject .i didnt get any nice link. and also provide the how to update the status field im csv file   Thank ssandhya   To send SMS, you need some third party SMS providers. if you consul...

Getting started with JScript.NET
I'm a Javascript and Actionscript developer, and the thought of being able to do server-sides in something I know was too good to resist. Does anyone know some good tutorials for developing ASP.NET pages in JScript?  I can find lots of console code, but simple things are hard: like I can't even figure out how to print something out to the web page (just a string). What I'm really trying to do is access a database, verify a login, and print JSON out to the response.  What should I do to start?  Is there a better way to do this? (IE: using some JSON library already?). I'm commun...

.Net Application generators
There are a few .Net complete n-tier application generators that generate directly from your database. Some even have their own database building tools. They are great and easy to follow and their applications generate real VB.Net and C# code, easy to learn. These are great starts for .Net stuff except for one thing, PRICE. Iron Speed is about $1500 and for the same exact product features ASPNetNow sells for only $279 for their Web Matrix version or $530 for VS version. Another company Avalanche sells for $995. Amazing price ranges. The first two match feature for feature except the first yo...

Getting started .net website
Hi folks,Does anyone here know of a good website to just sit back and read for learning .net? Thanks in advance.Baldeep Right here... Click the Get Started and Learn sections here. Quite a few out there - - this one, has a lot of good videos -  also ASPNet101.com, but then, I might be a little prejudiced David WierMCP/ASPInsiderASPNet101.com - where to look first!Please Vote for ASPNet101 - 'Best Community Resource'!Control Grouper - easily control properties for multiple controls with one control!Calendar Express - The Best HTML Calendar Generator on the web!(P...

How do I get started with AJAX.Net?
Hi All, I'm a seasoned asp.net developer but have not yet ventured into atlas et al.  I prefer books, but will take whatever I can get if it's good and will get me going. Any recommendations? Thx in advance. Jeff try here first http://ajax.asp.net/downloads/default.aspx?tabid=47 then learn from sample and docJames Wu (MIB426).NET is only way to goMCP, MCSE, MCDBA, MCSD, MCAD I find the materials online display features and implementations but are lacking architectural depth, and am seeking more comprehensive resources. By architectural depth, I mean that I cannot watch ...

Net Farmers net
Has anyone been able to access any of the tests at http://suicide.netfarmers.net ? I can get the default page but none of the tests appear to be operating over the last several weeks. -- CK I just tested and works as usual!!!Every session TCP_error,because my Shields_guard is intact<<G>> -- Regard: Joh@nnes� 1216771 Ont.Inc. "Nothing is more damaging to a new truth than an old error" "CK" <ckphalon@lascenltd.com> wrote in message news:9i45gg$1qa9$1@news.grc.com... : Has anyone been able to access any of the tests at : http://suicide...

Getting Started with .net and a few questions
Hello I've done some asp and php programming along with various other languages in the past and slowing getting my head around .net.I have a small project of creating a Holiday Booking system on our Intranet and just trying to get the first part to work properly will hopefully get me sorted for the whole project. The Intranet is running on .net 2 and I prefer to use the VB code rather than C#. This is connecting to an SQL server.My initial page that I am trying to create is just for an admin user to view which dates in a table have been specified as Bank Holidays and be able to add ...

Shell Command Net Send
Does anyone know how to do a net send command within a web app? I'm using Shell("net send shipping1 Material request submitted") while this doesn't error, my command doesn't go through. Any Ideas? Actually it works beautifully. I found I was modifying the code in a page that I was not testing. In other words, I had two copies and was using the wrong copy. DOH!!!...

net send in .net
Hi,  I am trying to execute net send comman in my vb.net code. But I am getting "win32 exception unhandled error". Please help me. My code is:Dim psi As New ProcessStartInfo() psi.UseShellExecute = False psi.FileName = "Net send" 'xxx.xxx.xx.xx  - IP address of a system in my network psi.Arguments = "xxx.xxx.xx.xx test" Process.Start(psi)  Thanks in advance! Shwetha Tryu changing   psi.FileName = "Net send" 'xxx.xxx.xx.xx  - IP address of a system in my network psi.Arguments = "xxx.xxx.xx.xx test" to   psi.FileName = "net.exe" 'xxx.xxx.xx.xx  - IP address of a system in my network psi.Arguments = "Send xxx.xxx.xx.xx test"   Hope it helps Hi Shwetha, You just need to do a small modification to your code. Instead of "Net Send" in the place of the filename, give "Net". Change your code as below: Dim psi As New ProcessStartInfo() psi.UseShellExecute = False psi.FileName = "Net" 'xxx.xxx.xx.xx  - IP address of a system in my network psi.Arguments = "Send xxx.xxx.xx.xx test" Process.Start(psi) Thats it! I did the same mistake when I came over a similar situation.   Bye Prabaa Oh! Thank you so much Thank you so much Prabaa....

VS.NET and C# Compiler from command line "csc.exe" not fould when running from command prompt.
Hi All, I've been attempting to comlpile a custom control from the command line: I have VS.NET 2003 installed along with the .Net Framework 1.1 I've been working on a control project but cannot compile this into a .dll to register as a TagPrefix within an ASP.NET page. When going to the command prompt and typing csc /? it returns the ever popular error "csc" not recognized as an internal process or batch file. Is this a comman error? or a rogue install of VS.NET and/or the .NET Framework. Thanks In Advance, Tony If you open under Visual Studio .net Programs, the Vi...

Differences between .net 1, .net 1.1, .net 2.0 and .net 3.0 #2
Hi, This seems to be a common question, but i havent got an answer yet:(Can, any one please explain me the differences between these versions.If you keep your feet firmly on the ground, you'll have trouble putting on your pants! There are too many differences for one email - - from 1.0 to 1.1 (not a whole lot of real change, other than fixes, at least compared to 1.1 to 2.0) With 2.0, there were many new declarative controls, with many new ideas added in With 3.0, it's a superset of 2.0 - instead of replacing the installation completely, it just 'added on' new functionality - I would...

I'm playing around with fetching things from the CPAN shell here. We have an FTP and an HTTP proxy here. While stepping through things in the debugger, I notice that Net::FTP::new loads $fire from $arg{Firewall} || $ENV{FTP_FIREWALL} || $NetConfig{ftp_firewall} || undef; $fire_type is initialised similarly but %NetConfig is not consulted. Is this deliberate? If not, I suggest the following patch: --- /home/pne/tmp/install/perl-5.8.0/lib/Net/FTP.pm Sat Jun 1 19:03:20 2002 +++ /home/pne/lib/perl5/5.8.0/Net/FTP.pm Tue Jan 28 11:29:10 2003 @@ -70,6 +70,7 @@ delete $arg{Po...

Web resources about - .Net command-line shell - asp.net.getting-started

Command-line interface - Wikipedia, the free encyclopedia
A command-line interface (CLI) is a means of interaction with a computer program where the user (or client ) issues commands to a program in ...

Command Line Magic (@climagic) on Twitter
Sign in Sign up To bring you Twitter, we and our partners use cookies on our and other websites. Cookies help personalize Twitter content, tailor ...

‘Shell Shock’ command line vulnerability present in OS X, could be bigger than Heartbleed
... For more information about AAPL Company , OS X , and Mac continue reading at 9to5Mac . What do you think? Discuss "‘Shell Shock’ command line ...

Command-Line Testing
Explains how to incorporate and use Xcode testing features for development projects.

Linux-based HP Mini Mi ships with command line disabled
Linux is hitting the consumer product big time but while doing so, it's hiding …

The Return Of The Command Line Interface
I learned to use computers in the era of the “command line interface”. It looked like this: I started using computers in the era of mainframes ...

aria2 is an HTTP, FTP, BitTorrent downloader for the command line
... usually very simple just point your browser at the appropriate URL, and wait so it’s hard to imagine why you might want to use a command line ...

Managing OpenStack security groups from the command line
... a particular OpenStack instance on port 443. I decided to inspect the security group it belongs (let's call it myapp) to from the command line: ...

Re-indexing Magento through the command line
From time to time, you might find the need to re-index Magento via the command line. This could be for a whole host of reasons, for example, ...

How to adjust network settings in OS X via the command line
In addition to using the system preferences, you can adjust Wi-Fi network configuration in OS X via Terminal.

Resources last updated: 2/16/2016 9:24:41 AM