Page 1 of 1

Favorites for files

Posted: 2015-01-15, 16:42 UTC
by Lefteous
Currently the directory hotlist can be used to manage folder favorites. What I do quite often is to set a favorite not to a folder but to a file. This means I do the following.

1. Identify the file to be favorited (set the cursor over the file)
2. Copy its name to the clipboard
3. Add the current folder to the directory hotlist
4. Open directory hotlist, select the added item and paste the filename behind the path

My request:
Simplify this process by adding a command 'add current file' to the directory hotlist

I know I can just drag&drop the file to the buttonbar but that's not the place where I want to manage my favorites.

Posted: 2015-01-16, 00:46 UTC
by Hacker
Lefteous,
I know I can just drag&drop the file to the buttonbar but that's not the place where I want to manage my favorites.
Well, even that does not help as that executes the file, it does not place the cursor on it.

Roman

Posted: 2015-01-16, 10:20 UTC
by petermad
even that does not help as that executes the file, it does not place the cursor on it.
That depends of what kind of file it is - if if for example is a .txt file the curser will just be placed on it, but if it is a .lnk file the link will be opened and if it is a .zip file the file will be opened.

Posted: 2015-01-16, 14:32 UTC
by nsp
petermad wrote:
even that does not help as that executes the file, it does not place the cursor on it.
That depends of what kind of file it is - if if for example is a .txt file the curse will just be placed on it, but if it is a .lnk file the link will be opened and if it is a .zip file the file will be opened.
What you can also say Peter is that the directory hotlist is a dedicated menu that can launch any command (with some minor limitation). What is missing is a command that set the cursor on a dedicated file/folder without opening it ;)
The dedicated ui is to just add the current folder to this very special favorite menu. The new command could also be useful elsewhere and make a cosmetic change to how are currently handled the favorites adding the current file on wich you want to navigate.

Posted: 2015-01-16, 23:12 UTC
by Hacker
petermad,
if for example is a .txt file the curser will just be placed on it
Not confirmed. Here it is opened with the associated editor upon clicking the button bar button.

Roman

Posted: 2015-01-17, 03:10 UTC
by petermad
2Hacker
Not confirmed. Here it is opened with the associated editor upon clicking the button bar button.
Sorry, I was talking about using it in the directory hotlist - not the buttonbar.

Posted: 2015-01-17, 08:39 UTC
by ghisler(Author)
2Hacker
use
cd c:\path\file.ext
instead of just
c:\path\file.ext

in the start menu. This will go to the file inside of TC, and not launch it. However, it will still open archives this way.

2Lefteous
Hmm, the directory hotlist was really meant for directories, not files. Therefore it lacks options like "run maximized" or "parameters". But I could add a menu item which adds
cd c:\path\file.ext
to the directory hotlist. Another option would be to let the user edit the path in Ctrl+D - Add current.

Posted: 2015-01-17, 09:27 UTC
by sky66
ghisler(Author) wrote:2Hacker
use
cd c:\path\file.ext
instead of just
c:\path\file.ext

in the start menu. This will go to the file inside of TC, and not launch it. However, it will still open archives this way.
try to use:
%COMMANDER_PATH%\TOTALCMD64.EXE /o /s /a c:\path\file.ext
or
%COMMANDER_PATH%\TOTALCMD.EXE /o /s /a c:\path\file.ext

it will not open archives.

Posted: 2015-01-17, 16:35 UTC
by Lefteous
2ghisler(Author)
Hmm, the directory hotlist was really meant for directories, not files. Therefore it lacks options like "run maximized" or "parameters".
Yes I know the directory menu is about directories. As it already executes all kind of commands I think it's not a big deal to use it also for bookmarking files.
Maybe it could be renamed to something like 'Favorites menu' or 'bookmark menu' or maybe just 'bookmarks'?
But I could add a menu item which adds
cd c:\path\file.ext
to the directory hotlist. Another option would be to let the user edit the path in Ctrl+D - Add current.
I would prefer a menu item.

Posted: 2015-01-18, 18:11 UTC
by nsp
ghisler(Author) wrote:2Hacker
use
cd c:\path\file.ext
instead of just
c:\path\file.ext

in the start menu. This will go to the file inside of TC, and not launch it. However, it will still open archives this way.
The main problem here is that no command or parameter with cd allows to only set the cursor
without oppening archive or folder.