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.
Using customized command prompt from the toolbar
Using customized command prompt from the toolbar
Alexey Romanov
-
serendipity
- Posts: 3360
- Joined: 07 May 2007 18:14
- Location: NJ/NY
Re: Using customized command prompt from the toolbar
Thats true, maybe Don can change some setting to change this behavior. Meantime, you can use this from catalog or address bar.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.
Code: Select all
::run "cmd /k cd <curpath>";-
admin
- Site Admin
- Posts: 65187
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Using customized command prompt from the toolbar
There's hardly a difference between the two on my system.serendipity wrote:Thats true, maybe Don can change some setting to change this behavior. Meantime, you can use this from catalog or address bar.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.Code: Select all
::run "cmd /k cd <curpath>";
FAQ | XY News RSS | XY X
Re: Using customized command prompt from the toolbar
Thanks, that works!serendipity wrote:Thats true, maybe Don can change some setting to change this behavior. Meantime, you can use this from catalog or address bar.Code: Select all
::run "cmd /k cd <curpath>";
Edit: Can't get it to work in the catalog, but I added it as a user-defined command.
Last edited by alexey_r on 16 Nov 2008 21:58, edited 1 time in total.
Re: Using customized command prompt from the toolbar
Try this:admin wrote:There's hardly a difference between the two on my system.
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?
Alexey Romanov
Re: Using customized command prompt from the toolbar
Over here such changes are picked up when opening cmd prompt from XY...alexey_r wrote:Or do you mean that it does pick up changes on your machine?
Proud XYplorer Fanatic
-
admin
- Site Admin
- Posts: 65187
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Using customized command prompt from the toolbar
Works well from Catalog. How did you try it?alexey_r wrote:Thanks, that works!serendipity wrote:Thats true, maybe Don can change some setting to change this behavior. Meantime, you can use this from catalog or address bar.Code: Select all
::run "cmd /k cd <curpath>";
Edit: Can't get it to work in the catalog, but I added it as a user-defined command.
FAQ | XY News RSS | XY X
-
admin
- Site Admin
- Posts: 65187
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Using customized command prompt from the toolbar
Same here.jacky wrote:Over here such changes are picked up when opening cmd prompt from XY...alexey_r wrote:Or do you mean that it does pick up changes on your machine?
FAQ | XY News RSS | XY X
Re: Using customized command prompt from the toolbar
Going by [url=http://www.xyplorer.com/tour/images/scr ... props2.png].admin wrote:Works well from Catalog. How did you try it?
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:
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?---------------------------
XYplorer
---------------------------
Couldn't find location:
::run "cmd \k cd <curpath>";
Re: Using customized command prompt from the toolbar
To see the difference you need to move around, my example below:admin wrote:Same here.jacky wrote:Over here such changes are picked up when opening cmd prompt from XY...alexey_r wrote:Or do you mean that it does pick up changes on your machine?
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
-
serendipity
- Posts: 3360
- Joined: 07 May 2007 18:14
- Location: NJ/NY
Re: Using customized command prompt from the toolbar
I'll eat my words, no difference for me too. I was apparently doing something stupid.serendipity wrote:Thats true, maybe Don can change some setting to change this behavior. Meantime, you can use this from catalog or address bar.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.Code: Select all
::run "cmd /k cd <curpath>";
XYplorer Beta Club