Is there any way i could change the command prompt that's started by "Num /" ? I would like to replace the normal command prompt (cmd.exe) with Console. It's just a frontend for other console programs (like cmd.exe, 4NT, monad ...) but it's better than using cmd itself (resizable ). I know i can add it to the User menu and user F9 to start it but it's not the same
If this is not possible could you please let me know so i can post a feature request ?
Change "command shell" here
Thanks for the reply.
If i understand correctly keymapping adjustment would allow me to change the hotkey that starts "cmd.exe" and not the actual program itself (maybe i misunderstood).
If i understand correctly keymapping adjustment would allow me to change the hotkey that starts "cmd.exe" and not the actual program itself (maybe i misunderstood).
But this won't open the cmd window in the current folder SS is in, right ?#IfWinActive,ahk_class SalamanderMainWindowVer16
NumpadDiv:: run notepad
RETURN
Salamander is reading the environment variable "ComSpec" to get the name of the command shell program which it starts when Num/ is pressed.
So the solution is:
In the settings of Console set the Shell entry to cmd.exe.
In System properties set ComSpec to the complete path of console.exe.
Of course that means that every program that reads the ComSpec variable will now start Console instead of cmd.
BTW I like Console too.
So the solution is:
In the settings of Console set the Shell entry to cmd.exe.
In System properties set ComSpec to the complete path of console.exe.
Of course that means that every program that reads the ComSpec variable will now start Console instead of cmd.
BTW I like Console too.
If Altap implement the remapping the way i would expect thiseblis wrote:Thanks for the reply.
If i understand correctly keymapping adjustment would allow me to change
the hotkey that starts "cmd.exe" and not the actual program itself (maybe i misunderstood).
you should be able to adjust the keymaps as you like:
e.g.
Crtl+D = opens the DOS-Box
NumpadDIV = opens YOUR tool
Till them you could use a third party keymap remap tool like www.AutohotKey.com:
I look here if the Sala window is active... then i say..AbteriX wrote: #IfWinActive,ahk_class SalamanderMainWindowVer16
NumpadDiv:: run notepad
RETURN
if the '/' -key on the numpad is pressed (opens normal the DOS-Box)
then do THIS command behind '::' (f.ex. here 'RUN NOTEPAD')
No this remapping didn't open the cmd window...But this won't open the cmd window in the current folder SS is in, right ?
but we can change this piece of 'code' to react only
if you press NumPadDIV twice quickly... one press would open
the cmd window as bevor.
AbteriX
Thanks, that works. The more programs that open Console the betterth. wrote:Salamander is reading the environment variable "ComSpec" to get the name of the command shell program which it starts when Num/ is pressed.
So the solution is:
In the settings of Console set the Shell entry to cmd.exe.
In System properties set ComSpec to the complete path of console.exe.
Of course that means that every program that reads the ComSpec variable will now start Console instead of cmd.
BTW I like Console too.
Yay, Console with PowerShell as a shell, open UNC paths and everything. Thanks again.
Yes, you're right. My mistakeAbteriX wrote: If Altap implement the remapping the way i would expect this
you should be able to adjust the keymaps as you like:
e.g.
Crtl+D = opens the DOS-Box
NumpadDIV = opens YOUR tool
Re: Change "command shell" here
Hi guys, I have a new way to launch Console2 from Salamander. I have documented my findings on my blog at http://oliiscool.blogspot.com/2010/09/c ... ether.html but the short version is:
- Create Automation script (I used VBScript) that launches Console2:
Code: Select all
Set ShellApp = CreateObject("Shell.Application") ShellApp.ShellExecute "E:\Program Files (x86)\Altap Salamander 2.54\Console2\Console.exe", "-d """ & Salamander.SourcePanel.Path & """", ""
- Bind script to some unused key combination, say Alt+-
- Use AutoHotKey to intercept Numpad / to Alt+- when Salamander has focus:
Code: Select all
#IfWinActive,ahk_class SalamanderMainWindowVer25 NumpadDiv::SendEvent !- RETURN
- You're done!