Error 0xc0000142 and FAR Manager

Aug 15, 2009
Periodically (but regularly) error 0xc0000142 occurs when calling tcc.exe from the FAR Manager. It happens in the following way: everything is working fine, but after a while (especially after the computer exits sleep mode), this error occurs when trying to execute any program from FAR Manager. This issue exists for a long time - at least with four last versions of TCC.
How can I fix this very annoying issue?


Staff member
May 14, 2008
I'm not sure I understand what you're saying -- is it that TCC (and only TCC) has problems being started from FAR manager, or that all programs have the same problem?

A 0xc0000142 error comes from the Windows loader; the app itself is never started.
Aug 15, 2009
FAR Manager calls command interpreter to run external and most internal commands. I have TCC installed as default command interpreter. And sometimes the issue above occurs. To get rid of the problem, I have to close the FAR Manager and run it again. It's easy, but annoying.
If you don't need TCC's features, you can change FAR's COMSPEC to point to CMD (through a batch file with SETLOCAL + SET + FAR, batch file itself called from an alias or from a shortcut). I use this technique for a few programs.
Not applicable if you want TCC's features when executing from FAR.
How should I change the command?
I don't use FAR and thus don't know directly. Since FAR is widely used, it should be configurable in some way. Looking at, I see "greatly extended by external DLL modules — plugins" (though writing a DLL is probably overkill just for passing a command from CMD to TCMD) (it could be that is type of extension is based on the type of the file, which is not what matters here). A simple but repetitive way is maybe to prefix command with something like TC, and TC.BAT is a script that passes the command over to TCC.
Similar threads
Thread starter Title Forum Replies Date
C Copy (sys) error Support 3
T Error: This page can’t be displayed Make sure the web address //ieframe.dll/dnserrordiagoff.htm# is correct. Support 8
kb6ojs How to? "Specified Account Already Exists" error installing TCMD v27 Support 12
samintz How to? Abort on error DO loop Support 10
mfarah Fixed The DATE command produces the wrong error message. Support 1
vefatica ON ERROR terminates DO loop. Support 0
C Google intregration error Support 4
C FB intregration error Support 0
gworley rd (Remove Directory) gives interesting error: Support 2
D How to? Skip removing directory (RMDIR) without error message Support 2
Dmitry L. Kobyakov Documentation Error in the Help: the WINDOW command Support 0
M Strange error messages from TCC in FTP copy Support 7
vefatica Error message from TOUCH Support 2
R FIND command error Support 9
fpefpe Python dll error Support 3
D error in help documentation? Support 0
R FOR usage error from TCC but not from CMD Support 16
K_Meinhard Help file error Support 1
X small translation error. Support 0
W pdir returns diff results between tcc and tcmd - one is an error msg Support 5
Dmitry L. Kobyakov From old version: had the setup's error been corrected? Support 6
vefatica Why no error message? Support 2
vefatica ON ERROR and pipes? Support 8
MickeyF Why does this batch file give me 'unknown command "else"' error? Support 17
Joe Caverly TASKDIALOG Help link error Support 1
J Error "Contents lost before copy" Support 3
vefatica What's causing this error? Support 4
vefatica Error 203? Support 4
C Activation Error. Support 2
J Error running Python at command line Support 9
Joe Caverly PSHELL Error? Support 16
M Fixed PSHELL command returns error Support 2
vefatica REGDIR, strange error message Support 7
O Error in plugin /u Support 2
O TPIPE: Error -Can´t access textpipeengine.dll Support 24
fpefpe How to? script error Support 1
fpefpe How to? script error Support 0
F Powershell call fails with "Scripting Integrator 2016 (PowerShell)" license error Support 9
cgunhouse FTP Error Support 5
C How to? Error updating from 20.00.16 to 20.00.21 Support 10
vefatica Missing post and security error Support 4
samintz Documentation TCANSI error Support 8
vefatica WAD ON ERROR GOTO ... Support 11
dcantor Documentation Documentation error in UNSET Support 0
vefatica Error updating Support 2
C tpipe /simple=28 error Support 5
B Fixed Error messages from TCMD.INI Support 2
Alpengreis [Bug?] View (V) Prefs Error (TC 18.00.27 x64) Support 4
Bill de Haan HTTP Protocol error. 407 Proxy Authentication Required. Support 3
vefatica DO /S ... suppress error? Support 1

Similar threads