If only DO does THIS! (Why I still use Explorer)

Only reason I still use Explorer:

Command Prompt Explorer Bar
codeproject.com/csharp/CommandBar.asp

If there's a plugin that does all that, I'll jump for joy!!!

If none exists, please add to feature list for next release. Pretty please?

I am a developer, think I can create my own? Heh.

Use the following command to open a command window with the path set to the current source folder:

CLI DOSPROMPT 

You can easily set this to a hotkey (Ctrl M) the same as the program you mention.

Quick feedback...

While Tanis' suggestion will indeed open a command prompt to the current folder, it looks like the tool you mentioned offers some additional functionality over simply doing this as well. But after a quick glance, I don't see why you wouldn't be able to replicate whatever functionalities the little toolbar inside this tool offers with Opus toolbar functions...

Yell if you need help, but most here probably won't be familiar with the toolbar features of "Command Prompt Explorer Bar" so you may need to give a good description of what you want to do.

A little along the same lines currently JPSoftware (not to be confused with GP Software A.K.A. Opus) is developing a console application called TConsole. The plan is to include it with the next release of 4NT however it is also slated to be available as a stand alone application. It's purpose is simple, to allow multiple console programs/scripts to run simultaneously within one GUI window. Like the Command Prompt Explorer Bar it comes with a toolbar and other handy things.

TConsole is in beta now and may not be available for a few months yet. However even when it does become available I'm not sure how often I'll use it (if at all) as I'm already doing everything I want with 4NT scripts/Opus toolbar button combinations.

Opus integrates marvelously with CMD and 4NT scripts. As steje suggested, yell if you need help.

Tanis' suggestion really helps! Thanks!

I think I can figure how to create the scripts (specify CLI command, add arguments, add placeholder to indicate selected files). What I need to know are whether the following are possible:

*** CLI needs to remain visible AFTER run. I need to see the results in CLI.

  • run CLI in the viewer pane (ie. no window pop-ups)
  • when I navigate the folder hierarchy, the CLI follows (runs cd commands to follow where I go)

I must have the first requirement fulfilled. The others are nice but I can live without.

Thank you so much for the quick response!!!

I think the main part of Command Prompt Explorer is that the command prompt window opens in the explorer window as another pane. Similar to if the DOpus Dual Horizontal lister layout where the bottom lister was a DOS window.

Is this possible?

Hi azzkicar,
I'm very glad you now have an answer to this !

Hi John,
I don't want to get too far off topic here, but ...

I have a VERY old version of Take Command ( 2.02B ).
I also have 4NT 6.01 that I use as a console replacement for command.com.
I just add shell=C:\4PROMPT\4NT\4NT.exe /p to config.sys and set comspec=C:\4PROMPT\4NT\4NT.exe to Autoexec.bat along with a path statement.
I know you do things a bit differently as you also use command scripts.

No matter, I just wanted to point out that the GUI version, Take Command, does have some advantages that I still use.

First one can scroll the display and see all of the typed commands and output in THAT DOS window.
In my case, if a command calls another DOS window I get a 4NT Window .
Pipes seem to keep everything in the Take Command Window though.

Second and perhaps best, is that in Take Commmand , One can "retype" the last command or an earlier command by simply pressing CTRL + UpArrow one or multiple times.
It is also very easy to edit the prompt and paste text into it.
An ENTER then completes the new Command .
Very useful for debugging !

:opusicon: Porcupine

The standard command window has this and has done since the dawn of time. Originally you had to run a command (doskey from memory). These days it's turned on by default. Just use the up arrow to scroll through previous commands.

Assuming you've created an MS-DOS Batch type of function/button, just add the standard Pause command to the end of it.

[quote]-run CLI in the viewer pane (ie. no window pop-ups)

  • when I navigate the folder hierarchy, the CLI follows (runs cd commands to follow where I go)[/quote]
    You can do either of these at the moment. I don't think this would fit the viewer plugin system at all, in fact, since viewers are triggered by files/filetypes. What you need in this case is a "pane plugin API" or similar, which doesn't exist in Opus at the moment.

For the last point, you could probably create a batch file which tells Opus to put the Source lister's path in the clipboard, then changes the command-prompt's current directory to that in the clipboard, giving you a command you can run manually to sync directories with Opus. Not ideal, though, even if you found a way to restore the clipboard to its previous contents (which isn't always possible).

A docked command-prompt panel which follows its lister's current directory would be very nice at times.

Although no API exists in Opus to do it, I've also always been put off the idea because I've never seen someone manage to write a command-prompt replacement that worked in all situations that the real thing works in. (And the real thing seems to be so arcane and tied to the 1980s that even Microsoft seem unwilling to touch it up until now (Vista), which is a bad sign. e.g. It's the only window I know of that still uses old-style titlebars under XP.) Having said that, most commands that I use these days simply take command-line arguments and write out simple text. The days of using Edit and other things which need more than standard-io are, I hope, long gone, so perhaps it isn't such a bad idea.

You may also be interested in the Command Field that Opus already has. Go to Customize / Commands / Tools and drag Command Field to a toolbar. This gives you a line, with drop-down history, that you can use to type Opus and Windows commands which will act on the current directory. If you want to run a command within a DOS window prefix it with cmd /k, e.g.:

cmd /k dir

Click the screenshot for a full-size example: