I created a button in the TC toolbar.
I want to find all outdated Python plugins clicking on the button (in Cmder.exe).
Configuration button:
c:\Tools\Cmder\Cmder.exe /START c:\Python37\Scripts\
parameters: pip.exe list --outdated
startpath: c:\Python37\Scripts
Error: unrecognized parameter.
If I add "pip.exe" add the end of the 1st line, the error message is: Folder doesn't exists.
What did I wrong?
Running command in Cmder from TC toolbar
Moderators: white, Hacker, petermad, Stefan2
Re: Running command in Cmder from TC toolbar
And why is "/START c:\Python37\Scripts\" not part of the parameters ?
Windows 11 Home x64 Version 23H2 (OS Build 22631.3593)
TC 11.03 x64 / x86
Everything 1.5.0.1375a (x64), Everything Toolbar 1.3.3, Listary Pro 6.3.0.78
QAP 11.6.3.3 x64
TC 11.03 x64 / x86
Everything 1.5.0.1375a (x64), Everything Toolbar 1.3.3, Listary Pro 6.3.0.78
QAP 11.6.3.3 x64
Re: Running command in Cmder from TC toolbar
All parameters have to be in the parameters field and not part of the command.
So the parameters field looks like:
/START c:\Python37\Scripts\ put pip.exe list --outdated
Windows 11 Home x64 Version 23H2 (OS Build 22631.3593)
TC 11.03 x64 / x86
Everything 1.5.0.1375a (x64), Everything Toolbar 1.3.3, Listary Pro 6.3.0.78
QAP 11.6.3.3 x64
TC 11.03 x64 / x86
Everything 1.5.0.1375a (x64), Everything Toolbar 1.3.3, Listary Pro 6.3.0.78
QAP 11.6.3.3 x64
- ghisler(Author)
- Site Admin
- Posts: 48130
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: Running command in Cmder from TC toolbar
Not really, you can put parameters also in the "Command" field. This is useful when you start the parameters field with a question mark "?", then you will be presented only the parameters in that field. It's also useful if you want to use environment variables, which would collide with the placeholders like %P%N used in the parameters field.All parameters have to be in the parameters field and not part of the command.
About your problem, are you sure that the folder needs to end with a backslash?
I suggest that you try various command lines directly in cmd.exe until you find the correct one.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: Running command in Cmder from TC toolbar
It didn't make any difference.ghisler(Author) wrote: ↑2018-11-08, 10:28 UTC About your problem, are you sure that the folder needs to end with a backslash?
Can't find a solution.
I decided to go back to CONEMU
Command: "c:\Tools\ConEmu_Console\ConEmu64.exe"
Parameters: -dir "c:\python37\scripts\" -run "pip.exe list --outdated" -cur_console:c
This works fine.
Just I can't find out how to stay in current directory (c:\python37\scripts\).
CONEMU just wants to close the window asking "Press Enter or Esc to close console..."