Page 1 of 1
Using customized command prompt from the toolbar
Posted: 16 Nov 2008 20:30
by alexey_r
When I enter "cmd" in the Start menu, or "Command Prompt" from a folder's context menu, I get a command prompt with good size and QuickEdit and Insert modes already on.
When I press the command prompt button on the XYplorer toolbar, I get the basic command prompt. And it doesn't remember if I change the settings!
I'd much prefer it to open the customized command prompt.
Re: Using customized command prompt from the toolbar
Posted: 16 Nov 2008 21:35
by serendipity
alexey_r wrote:When I enter "cmd" in the Start menu, or "Command Prompt" from a folder's context menu, I get a command prompt with good size and QuickEdit and Insert modes already on.
When I press the command prompt button on the XYplorer toolbar, I get the basic command prompt. And it doesn't remember if I change the settings!
I'd much prefer it to open the customized command prompt.
Thats true, maybe Don can change some setting to change this behavior. Meantime, you can use this from catalog or address bar.
Re: Using customized command prompt from the toolbar
Posted: 16 Nov 2008 21:37
by admin
serendipity wrote:alexey_r wrote:When I enter "cmd" in the Start menu, or "Command Prompt" from a folder's context menu, I get a command prompt with good size and QuickEdit and Insert modes already on.
When I press the command prompt button on the XYplorer toolbar, I get the basic command prompt. And it doesn't remember if I change the settings!
I'd much prefer it to open the customized command prompt.
Thats true, maybe Don can change some setting to change this behavior. Meantime, you can use this from catalog or address bar.
There's hardly a difference between the two on my system.

Re: Using customized command prompt from the toolbar
Posted: 16 Nov 2008 21:43
by alexey_r
serendipity wrote:Thats true, maybe Don can change some setting to change this behavior. Meantime, you can use this from catalog or address bar.
Thanks, that works!
Edit: Can't get it to work in the catalog, but I added it as a user-defined command.
Re: Using customized command prompt from the toolbar
Posted: 16 Nov 2008 21:52
by alexey_r
admin wrote:There's hardly a difference between the two on my system.

Try this:
Launch cmd normally, select the icon in the upper-left corner and choose Defaults from the menu. Change height in the Layout tab (there are other more useful changes, but this one is easy to see).
Now if you launch cmd again, it will launch with the new height, but if you launch it from the XYplorer toolbar, it will launch with the old height (on my machine, at least). Note that if you look Defaults in the same way, they have the new height value.
Or do you mean that it does pick up changes on your machine?
Re: Using customized command prompt from the toolbar
Posted: 16 Nov 2008 22:55
by jacky
alexey_r wrote:Or do you mean that it does pick up changes on your machine?
Over here such changes are picked up when opening cmd prompt from XY...
Re: Using customized command prompt from the toolbar
Posted: 17 Nov 2008 08:28
by admin
alexey_r wrote:serendipity wrote:Thats true, maybe Don can change some setting to change this behavior. Meantime, you can use this from catalog or address bar.
Thanks, that works!
Edit: Can't get it to work in the catalog, but I added it as a user-defined command.
Works well from Catalog. How did you try it?
Re: Using customized command prompt from the toolbar
Posted: 17 Nov 2008 08:31
by admin
jacky wrote:alexey_r wrote:Or do you mean that it does pick up changes on your machine?
Over here such changes are picked up when opening cmd prompt from XY...
Same here.
Re: Using customized command prompt from the toolbar
Posted: 17 Nov 2008 15:02
by alexey_r
admin wrote:Works well from Catalog. How did you try it?
Going by [url=
http://www.xyplorer.com/tour/images/scr ... props2.png].
Catalog context menu/Add New Item. In "Edit Item Properties" dialog, I enter "Command Prompt" as caption, "::run "cmd /k cd <curpath>";" as location, and "Go to Location" as action on click.
No icon is shown for this item and I get the following message box when clicking on it:
---------------------------
XYplorer
---------------------------
Couldn't find location:
::run "cmd \k cd <curpath>";
I've found the reason now: I didn't have Quick Scripting on. Maybe the error message should say Quick Scripting is off when going to a location starting with double colon?
Re: Using customized command prompt from the toolbar
Posted: 18 Nov 2008 15:41
by eurytos
admin wrote:jacky wrote:alexey_r wrote:Or do you mean that it does pick up changes on your machine?
Over here such changes are picked up when opening cmd prompt from XY...
Same here.
To see the difference you need to move around, my example below:
If I am at c:\ - open the prompt, customize, save it - The next time I open a command prompt at c:\ it is still customized.
Now navigate to c:\program files (or wherever) - Now open the command prompt, it has the default settings.
If I customize the command prompt at this location it will save now as well.
I *think* it may be due to the naming of the prompt, not necessarily the location. My default command prompt (start -> run -> cmd) opens at c:\windows\system32 but if I browse to that location in xy and open the command prompt I don't get the same customized version.
The default version is titled: c:\wundows\system32\cmd.exe
xy title is: c:\windows\system32\ - original location of this command prompt
Re: Using customized command prompt from the toolbar
Posted: 18 Nov 2008 17:22
by serendipity
serendipity wrote:alexey_r wrote:When I enter "cmd" in the Start menu, or "Command Prompt" from a folder's context menu, I get a command prompt with good size and QuickEdit and Insert modes already on.
When I press the command prompt button on the XYplorer toolbar, I get the basic command prompt. And it doesn't remember if I change the settings!
I'd much prefer it to open the customized command prompt.
Thats true, maybe Don can change some setting to change this behavior. Meantime, you can use this from catalog or address bar.
I'll eat my words, no difference for me too. I was apparently doing something stupid.
