Page 2 of 2
Re: Configurable Command Prompt
Posted: 27 Nov 2008 23:18
by Creat
actually, there is a command that allows you to open a default command prompt from any (or the current) folder.
the default shortcut is ctrl+alt+p, or it's in the context menu (5th entry from top if you right-click a folder in the tree)
if you want to customize it, if you open "tools -> customize keyboard shortcuts... -> miscellanous" it's the third from the top.
Creat
Re: Configurable Command Prompt
Posted: 28 Nov 2008 00:08
by Stefan
AHH, on the left side, in the tree view, there is it. Thank you.
And now i see that i use the wrong term to search the standard shortcut list.
Re: Configurable Command Prompt
Posted: 28 Nov 2008 00:16
by Creat
Yea, it can be tricky to find stuff there I agree. I voted for the ability to 'filter' the (complete, across categories) list with a box at the top to type into (or similar) the same way opera does it (for example), didn't get enough votes for it to become reality though... Well maybe some day
Creat
Re: Configurable Command Prompt
Posted: 10 Dec 2008 15:29
by Jeff Bellune
I "open a command prompt here" quite often, so I added an icon for it to the toolbar. Easy and brainless, which is just what my tired old brain needs.
-Jeff
Re:
Posted: 21 Nov 2009 04:47
by kartal
admin wrote:Gandolf wrote:And it's there - Thanks Donald.
FYI, this Open-UDC:
"cmd" /k "cd <curpath>"
will open the DOS box at the current path.
"cmd" /k "cd <curpath>&&dir"
will open the DOS box at the current path, and show the directory listing.
Yep, "&&" is the command concatenator... did you know?
Weird,
"cmd" /k "cd <curpath>" does not work for me in 8.60.0106. It just opends the cmd in default system32 directory. Is it supposed to work?
Re: Re:
Posted: 21 Nov 2009 07:03
by serendipity
kartal wrote:admin wrote:Gandolf wrote:And it's there - Thanks Donald.
FYI, this Open-UDC:
"cmd" /k "cd <curpath>"
will open the DOS box at the current path.
"cmd" /k "cd <curpath>&&dir"
will open the DOS box at the current path, and show the directory listing.
Yep, "&&" is the command concatenator... did you know?
Weird,
"cmd" /k "cd <curpath>" does not work for me in 8.60.0106. It just opends the cmd in default system32 directory. Is it supposed to work?
Yup, works for me. v8.60.0108
Re: Re:
Posted: 21 Nov 2009 08:12
by avsfan
kartal wrote:admin wrote:Gandolf wrote:And it's there - Thanks Donald.
FYI, this Open-UDC:
"cmd" /k "cd <curpath>"
will open the DOS box at the current path.
"cmd" /k "cd <curpath>&&dir"
will open the DOS box at the current path, and show the directory listing.
Yep, "&&" is the command concatenator... did you know?
Weird,
"cmd" /k "cd <curpath>" does not work for me in 8.60.0106. It just opends the cmd in default system32 directory. Is it supposed to work?
Perhaps what is happening is that "cd" will change the directory on the specified drive, but not change the active drive.
In other words, if I'm at c:\windows in a cmd.exe window, and type
"cd d:\mydir"
nothing apparently changes. However, if I type
"d:"
I see that I'm in d:\mydir.
Similarly, if I now type
"cd c:\temp"
nothing changes until I type
"c:"
in which case I'm now in c:\temp...
Could this be part of the problem? I don't remember seeing a variable that would return only the current drive (maybe a <curdrive> variable might be useful), but if we had one, something like
"cmd" /k "<curdrive>&&cd <curpath>"
could do the trick...
Re: Re:
Posted: 21 Nov 2009 09:07
by admin
avsfan wrote:... I don't remember seeing a variable that would return only the current drive (maybe a <curdrive> variable might be useful), but if we had one, something like
"cmd" /k "<curdrive>&&cd <curpath>"
could do the trick...
Let me know if that helps, and I add <curdrive>.
Re: Configurable Command Prompt
Posted: 21 Nov 2009 15:45
by TheQwerty
You could just change it to be: "cmd" /K "cd /D <curpath>" no need for another XY-var.
Re: Configurable Command Prompt
Posted: 22 Nov 2009 06:53
by avsfan
TheQwerty wrote:You could just change it to be: "cmd" /K "cd /D <curpath>" no need for another XY-var.

Ah, yes... Now I remember that I had seen that, but had forgotten it...
Even so, I'm guessing that <curdrive> may be a useful addition for some scripts...
But thanks for refreshing my memory!