"Everything" file search software: open files in r
Moderators: Hacker, petermad, Stefan2, white
"Everything" file search software: open files in r
I was always an user of locate32 till I discovered Everything.
Everything is the fastest search program on the net.
In the ini file of everything you can indicate TC as file/folder opener.
I added the following lines to my .ini:
explore_folder_command=$exec("%SystemRoot%\explorer.exe" /n,/e,"%1")
explore_folder_path_command=$exec("%SystemRoot%\explorer.exe" /n,/e,/select,"%1")
open_folder_path_command=$exec("c:\Program Files\totalcmd\TOTALCMD.EXE" "$parent(%1)")
open_file_command=$exec("%1")
open_folder_command=$exec("c:\Program Files\totalcmd\TOTALCMD.EXE" "%1")
No problem till here.
I would like to add another line in order to open file or folder in the right panel of Total Commander so I can choose where to open the folder, in the left or right panel.
Can anyone help me to resolve this problem?
Everything is the fastest search program on the net.
In the ini file of everything you can indicate TC as file/folder opener.
I added the following lines to my .ini:
explore_folder_command=$exec("%SystemRoot%\explorer.exe" /n,/e,"%1")
explore_folder_path_command=$exec("%SystemRoot%\explorer.exe" /n,/e,/select,"%1")
open_folder_path_command=$exec("c:\Program Files\totalcmd\TOTALCMD.EXE" "$parent(%1)")
open_file_command=$exec("%1")
open_folder_command=$exec("c:\Program Files\totalcmd\TOTALCMD.EXE" "%1")
No problem till here.
I would like to add another line in order to open file or folder in the right panel of Total Commander so I can choose where to open the folder, in the left or right panel.
Can anyone help me to resolve this problem?
Hello, raytc.
You are absolutely free to have a glimpse at the TotalCommander Helpfile once in a while.
Sven
You are absolutely free to have a glimpse at the TotalCommander Helpfile once in a while.

HTH,totalcmd.hlp wrote:Command line parameters
Total Commander can be called with one or two directories as command line parameters. This will set these directories in one or both of the file windows. This allows you to create multiple icons for Total Commander in progman or the start menu, which start Total Commander in different directories or even with packed files. Furthermore a different ini file than the default wincmd.ini can be specified to allow multiple users on the same machine to have different settings in Total Commander.
Syntax:
totalcmd.exe [/o] [/n] [Drive1:\Directory1 [Drive2:\Directory2]] [/i=name.ini] [/f=ftpname.ini]
or:
totalcmd.exe [/o] [/n] [/L=Drive1:\Directory1] [/R=Drive2:\Directory2] [/i=name.ini] [/f=ftpname.ini]
Parameters:
Drive:\Directory Loads the first directory passed to Total Commander into the left window, and the second into the right window. Directory names containing spaces must be put in double quotes! Always specify the full path name including the drive!
/O If Total Commander is already running, activate it and pass the path(s) in the command line to that instance (overrides the settings in the configuration dialog to have multiple windows)
/N Opens in any case a new Total Commander window (overrides the settings in the configuration dialog to allow only one copy of Total Commander at a time)
/L= Set path in left window
/R= Set path right window
/S Interprets the passed dirs as source/target instead of left/right (for usage with /O). For example, a dir passed with /R= will be interpreted as the target dir.
/T Opens the passed dir(s) in new tab(s). Now also works when Total Commander hasn't been open yet.
/P= Sets the active panel at program start: /P=L left, /P=R right. Overrides wincmd.ini option ActiveRight=.
/i=name.ini Use a different INI file name.ini instead of wincmd.ini to save settings (see also: INI file description).
/F=ftpname.ini Use a different INI file name.ini instead of wcx_ftp.ini to save settings for built-in FTP client.
/d=<x> Delays the start of Total Commander by <x> seconds (meant for the startup folder, if there are problems with other programs, which start at the same time)
/INSTALLDRIVER (Windows NT/2000 only) Install parallel port driver - only needed if you want to use the parallel port connection as a normal user and not as an administrator. Needs to be run as an administrator.
/REMOVEDRIVER (Windows NT/2000 only) Removes the driver installed with the switch /INSTALLDRIVER
The switches are NOT case sensitive.
Sven
Thank you Sven.
You are free to answer as you think is right.
I've seen the help file and also the wikipedia page with all the command line parameters but I suppose my question was not good formulated.
In the right click explorer menu you can't add two times this command:
open_file_command=$exec("%1")
open_folder_command=$exec("c:\Program Files\totalcmd\TOTALCMD.EXE" "%1")
So I don't know how to formulate the new commands with the /R parameter.
(I would like to have the possibility to open a file/folder in the left or the right panel)
You are free to answer as you think is right.
I've seen the help file and also the wikipedia page with all the command line parameters but I suppose my question was not good formulated.
In the right click explorer menu you can't add two times this command:
open_file_command=$exec("%1")
open_folder_command=$exec("c:\Program Files\totalcmd\TOTALCMD.EXE" "%1")
So I don't know how to formulate the new commands with the /R parameter.
(I would like to have the possibility to open a file/folder in the left or the right panel)
Good evening, raytc.
Sorry for incorrectly assuming you had not found or not bothered to check the T.C. online help.
As your question is more about how to do it inside Everything than about the T.C. commandline options, Horst.Epp's reply is really more helpful than mine.
Kind regards,
Karl
Sorry for incorrectly assuming you had not found or not bothered to check the T.C. online help.

As your question is more about how to do it inside Everything than about the T.C. commandline options, Horst.Epp's reply is really more helpful than mine.
Kind regards,
Karl
Use the explore_folder_path_command for this purpose.raytc wrote:Thank you Horst.Epp.
Isn't is possible to have both commands (left and right panel)?
....
I tried to test somewhat without success.
There is no need for the Microsoft explorer because you are using TC
This way you have both version available.
@karlchen, no problem, thank you for your message 
@Horst.epp,
Why didn't I thought about the explore folder path
Thanks.
Just one question left:
If I right click on a file in "everything" and click "explore path" or "open path", the file is not selected in Total Commander.
This is difficult if a directory has many files.
Do you know how to select the file?

@Horst.epp,
Why didn't I thought about the explore folder path

Thanks.
Just one question left:
If I right click on a file in "everything" and click "explore path" or "open path", the file is not selected in Total Commander.
This is difficult if a directory has many files.
Do you know how to select the file?
Make sure you don't use the $parent() function.If I right click on a file in "everything" and click "explore path" or "open path", the file is not selected in Total Commander.
Total Commander also tries to interpret any file that is passed via command line as an archive.
So if you pass e.g. /t / o /r="C:\Test.zip" you'll actually end up inside that archive. This can lead to some unexpected behavior with some packer plugins.
Everything
I'm interested in how to make more use of David Carpenter's seminal program Everything preferably from within TC itself.
I understand that raytc is asking about how to use Everything to drive TC - but is there a way to invoke Everything from within TC?
Yes, a simple button would work, but can Everything be more deeply integrated into TC? I'm imagining that Everything would pop up as the Search function with Alt-F7. Yes, the standard Search would still need to be available to address URLs.
_ ______________ _
If anyone could confirm that the above command lines are ones that go inside Everything's ini file then I'd be grateful.
I understand that raytc is asking about how to use Everything to drive TC - but is there a way to invoke Everything from within TC?
Yes, a simple button would work, but can Everything be more deeply integrated into TC? I'm imagining that Everything would pop up as the Search function with Alt-F7. Yes, the standard Search would still need to be available to address URLs.
_ ______________ _
If anyone could confirm that the above command lines are ones that go inside Everything's ini file then I'd be grateful.
- Boofo
- Power Member
- Posts: 1431
- Joined: 2003-02-11, 00:29 UTC
- Location: Des Moines, IA (USA)
- Contact:
So, what are the final settings to add to the Everything.ini then?raytc wrote:Thank you ZoSTeR,
The $parent() function was the problem.
Thanks to everyone in this thread.
chmod a+x /bin/laden -- Allows anyone the permission to execute /bin/laden
How do I un-overwrite all my data?
User of Total Commander
#60471 Single user license
How do I un-overwrite all my data?
User of Total Commander
#60471 Single user license