Click here to Skip to main content
15,884,628 members
Articles / Programming Languages / C#

Command Prompt Explorer Bar

Rate me:
Please Sign up or sign in to vote.
4.93/5 (184 votes)
10 Jun 20023 min read 1.4M   23.9K   356  
This tool extends explorer with functionality of a command prompt. Implemented as a band object completely in C#. Demonstrates COM Interop and P/Invoke, windows hooking and API interception. Finally you can run all these .Net SDK tools and ‘Hello World!’ programs without leaving explorer shell.
// Pavel Zolnikov[http://www.codeproject.com/script/profile/whos_who.asp?id=35980], 2002

using System;
using System.Reflection;
using System.Security.Permissions;
using System.Runtime.InteropServices;
using System.Runtime.CompilerServices;

[assembly: ComVisible(false)]
[assembly: CLSCompliant(true)]
[assembly: AssemblyTitle("ConsoleCtrl")]
[assembly: AssemblyDescription("Windows Forms Control that incapsulates functionality of Command Prompt(MS-Dos window).")]
[assembly: AssemblyProduct("Command Prompt Explorer Bar")]
[assembly: AssemblyVersion("1.1.0.0")]
[assembly:AssemblyKeyFile(@"..\..\..\keypair.snk")]
[assembly: SecurityPermission(SecurityAction.RequestMinimum, Flags=SecurityPermissionFlag.UnmanagedCode)]

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


Written By
Web Developer
United States United States
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions