Is it possible to configure the file manager and/or Windows to display console DOS windows by default after a command-line program terminates? Usually these programs output some message that the user has no chance of reading without manually opening CMD and typing the program's name and parameters again, which makes TC's built-in command line not so useful compared to a button that launches CMD.
This appears to be not well thought out in Windows or all programs that integrate CLI tools. I know of only one tool that allows to redirect the output to a file. It could theoretically display it on the interface, but still does not do that.
Seeing console output of CLI programs
Moderators: Hacker, petermad, Stefan2, white
Seeing console output of CLI programs
#148174 Personal license
Running Total Commander v8.52a
Running Total Commander v8.52a
Re: Seeing console output of CLI programs
I'm guessing it really depends on what you want to do and the utility you are using but:
Edit: other method
Add this to your usercmd.ini
and this as a button
it should show open the quickview of dirfile.txt
Using https://ss64.com/nt/more.html might also he useful
So try to launch your cmd line program by using noclose.exe - example:Q: After the execution of a DOS command such as DIR the window is closed so quickly that the output of the program is unreadable!
A: You can start the program with SHIFT+ENTER instead of ENTER. This leaves the window open after the program terminates. The command will be started via noclose.exe in the Totalcmd directory.
Code: Select all
%commander_path%\NOCLOSE.EXE dir
Add this to your usercmd.ini
Code: Select all
[em_Dir]
cmd=%comspec% /c dir /s /b > dirfile.txt
[em_OpenDirFile]
cmd=cd dirfile.txt
Code: Select all
em_dir,cm_wait 100,em_opendirfile,cm_SrcQuickview
Using https://ss64.com/nt/more.html might also he useful
F4MiniMenu (Forum) - Open selected file(s) from TC in defined editor(s) - A (minimalistic) clone of F4Menu
Source at GitHub (AutoHotkey). TCSyncComments (copy file comments)
Source at GitHub (AutoHotkey). TCSyncComments (copy file comments)
Re: Seeing console output of CLI programs
Holding Shift works from both a file panel and the command bar! I'm surprised I hadn't accidentally discovered this intuitive shortcut.
#148174 Personal license
Running Total Commander v8.52a
Running Total Commander v8.52a
Re: Seeing console output of CLI programs
There are many "hidden" gems in TC - a command palette would therefore be nice to make features easier to discover.
F4MiniMenu (Forum) - Open selected file(s) from TC in defined editor(s) - A (minimalistic) clone of F4Menu
Source at GitHub (AutoHotkey). TCSyncComments (copy file comments)
Source at GitHub (AutoHotkey). TCSyncComments (copy file comments)