1

How to assign any bat file with ConEmu to window registery?

I read few suggestions at: Running Bat file with ConEmu

Here few suggestion:

[HKEY_CLASSES_ROOT\batfile\shell\open\command]
@="\"C:\\Program Files\\Far Manager\\ConEmu.exe\" /cmd \"%1\" %*"

"C:\Program Files\ConEmu\ConEmu64.exe" "%1"

"C:\Program Files\ConEmu\ConEmu64.exe" "-Reuse" "/cmd" "%1 %*"

However, last comment point out that: last argument be outside the doublequote as seen on registry: [HKEY_CLASSES_ROOT\batfile\shell\open\command]"%1" %*

It seem all suggestion put all arguments with doublequote. With provided suggestion above, can anyone confirm last argument be outside of doublequote?

Community
  • 1
  • 1
user5029
  • 143
  • 1
  • 4

2 Answers2

1

Default Terminal feature allows to start any console applications in ConEmu automatically.

https://conemu.github.io/en/DefaultTerminal.html

Maximus
  • 10,751
  • 8
  • 47
  • 65
0

just sample..

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\DesktopBackground\Shell\downloads] @="Downloads" "Position"="Bottom"

[HKEY_CLASSES_ROOT\DesktopBackground\Shell\downloads\command] @="explorer \"D:\Downloads\""

hope can help you!

ag3ng
  • 66
  • 6
  • No sure about this, can you clarify what you're saying? I can see download argument seems to be some kind directory some sort. My question how to assign any bat files ConEmu double clicking on those file (as seen on hyper link provided on question) – user5029 Apr 18 '16 at 11:08