Start menu item using /O /R=? opens left panel
Moderators: Hacker, petermad, Stefan2, white
Start menu item using /O /R=? opens left panel
When I create a start menu item to open a path in the right panel, the directory opens in the left panel! (TC 6.53, TC 7.02a)
Steps to reproduce:
1) Change Start Menu, Add Item,
2) Use these settings:
Command = "C:\Program Files\Total Commander\TOTALCMD.EXE" /O /R=
Parameters = ?
3) Press OK button
4) Select this menu item and enter c:\windows in the dialog box. This folder will be opened in the left panel. (instead of right)
NB: Please note that this command (with the /R option) does work when invoked from an ordinary command prompt.
(BTW: I use this option to open manually entered UNC paths in the TC window. Any other possibilities to do that?)
Steps to reproduce:
1) Change Start Menu, Add Item,
2) Use these settings:
Command = "C:\Program Files\Total Commander\TOTALCMD.EXE" /O /R=
Parameters = ?
3) Press OK button
4) Select this menu item and enter c:\windows in the dialog box. This folder will be opened in the left panel. (instead of right)
NB: Please note that this command (with the /R option) does work when invoked from an ordinary command prompt.
(BTW: I use this option to open manually entered UNC paths in the TC window. Any other possibilities to do that?)
Re: Start menu item using /O /R=? opens left panel
Confirmed!Cloudking wrote:Steps to reproduce:
1) Change Start Menu, Add Item,
2) Use these settings:
Command = "C:\Program Files\Total Commander\TOTALCMD.EXE" /O /R=
Parameters = ?
3) Press OK button
4) Select this menu item and enter c:\windows in the dialog box. This folder will be opened in the left panel. (instead of right)
workaround: use this parameter
Code: Select all
?/O /R=
You can type cd path in the command line and press <Enter>Cloudking wrote:(BTW: I use this option to open manually entered UNC paths in the TC window. Any other possibilities to do that?)
or add start menu item with these param
Code: Select all
Command: cd
Parameters: ?
- ghisler(Author)
- Site Admin
- Posts: 50475
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
This doesn't work. Why? TC adds a space between command and parameter, so what you get is actually
"C:\Program Files\Total Commander\TOTALCMD.EXE" /O /R= c:\userpath
As you can see, you pass "c:\userpath" for the source window, and nothing (empty string) for the target...
"C:\Program Files\Total Commander\TOTALCMD.EXE" /O /R= c:\userpath
As you can see, you pass "c:\userpath" for the source window, and nothing (empty string) for the target...
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
My workaround is to create a simple batchfile containing the following command:
@"C:\Program Files\Total Commander\TOTALCMD.EXE" /O %1=%2
Via the start menu item parameters I pass in either '/L' or '/R' and for the second parameter the path that I wish to open.
I tick the 'Run minimized' button, so that you hardly notice the command window being opened. It's a bit dirty, but it does the trick.
Thanks.
@"C:\Program Files\Total Commander\TOTALCMD.EXE" /O %1=%2
Via the start menu item parameters I pass in either '/L' or '/R' and for the second parameter the path that I wish to open.
I tick the 'Run minimized' button, so that you hardly notice the command window being opened. It's a bit dirty, but it does the trick.
Thanks.
cd is much faster!Cloudking wrote:My workaround is to create a simple batchfile containing the following command:
@"C:\Program Files\Total Commander\TOTALCMD.EXE" /O %1=%2
There is another way to quickly open directory by typing the path in current directory (above the file list), no need for typing cd command
you can assign a hotkey to the internal command cm_EditPath to quickly start editing current directory field.