Page 1 of 1

Command line problems

Posted: 04 Jul 2019, 12:50
by CaLy
Hello, I am Carlos Octavio from Argentina.
I tried this commander while looking for free alternatives and i saw on reddit it becames free... so i decided to uninstall the trial of TC and installed this.
It´s so beautiful and GREAT ! Works SO GOOD on x64 ! Thank you !

Now,as a noob with this fantastic program, i have two questions.

I remember while using TC i was in a folder, i was in a specific folder (any) and in the command line i typed " winrar and then CTRL+ENTER " (without " of course) and TC opened winrar in that folder, so i was able to compress or decompress the files in that folder". Now it tells me "not recognized...blabla", the same happens with notepad++
So my question is... is there a way to do that in Altap file manager? Thank you in advance, and greetings from Rosario !

Have a GREAT day !

Carlos Octavio

Re: Command line problems

Posted: 04 Jul 2019, 19:25
by SelfMan
The basic rule is that if you want to run a application from command line and you are not directly in the folder where the application is installed, the application's folder must be in the PATH system variable.
I dont know hot TC is doing it, I gues it gets the application's path from the registy and then executes it.

Never the less, Salamander has othjer powefull feature - custom user menu (F9). ... ize_usrmn/
where you can specify your apps, paths and folders you want to work with.

Re: Command line problems

Posted: 04 Jul 2019, 19:46
by SvA
Hi Carlos,

your program most likely is not on the PATH.
Unlike Windows Run feature, Salamander's command line always runs anything through the shell. The shell is defined by the contents of the COMSPEC environment variable, usually cmd.exe
Windows finds some programs by searching the entries in the registry below but cmd.exe does not use those.
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\App Paths
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\App Paths

You can run those programs using the start command. Open a command window and enter start /? to learn more.

By the way, Salamander comes with some archivers integrated, and there are more that you can configure, and which then behave as if they were integrated from the beginning. Check out the Archivers section in the configuration.

Also check out the User Menu and it's associated toolbar. You can can pass all kind of parameters related to the current contents in the file panels, a very handy feature. You can configure Programs there with full path, depend on the PATH environment variable, or let windows apply it's App Paths magic if you unticked "Execute through shell".

Re: Command line problems

Posted: 24 Jul 2019, 13:41
by CaLy
Thank you!
IT is working now as i wanted!

Re: Command line problems

Posted: 25 Jul 2019, 19:02
by SelfMan
Caly, just to leave info for people who come to this thread with the same issue, describe which solution did help you.