Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

Unexpected error report

May
3,515
5
Recently my old batch file when runs erratically reports this report:
TCC: (Sys) C:\BTM\tlj.btm [5] Access is denied.
"C:\TMP\COUT8bc.JPS"

The batch file is below:
Code:
@echo off
setlocal
tasklist 4nt  >  clip:
tasklist tcc  >> clip:
tasklist tcmd* >> clip:
tasklist shra* >> clip:
set x=%@lines[clip:]
iff %_4ver gt 10 then
  set mm=0
  forn %n in (0,1,%x) set mm=%@max[%mm,%@len[%@clip[%n]]]
endiff
do n=0 to %x
  set task=%@clip[%n]
  set pid=%@word[0,%task]
  set task=%@word[1-99,%task]
  switch %@isdigit[%pid]
  case 0
  set act=*
  set pid=%@left[-1,%pid]
  case 1
  set act= ``
  endswitch
  iff %_4ver gt 10 then
  echo %@f5[%pid] %act %@format[-%mm,%task] %@pidcommand[%pid]
  else
  echo %@f5[%pid] %act %task
  endiff
enddo
Note: The filename in %TMP depends on the TCC instance.
 
On my system just now on average every 4th run had the error. What condition could cause it? I may start wondering about hardware problems if I know what it indicates.
 
The error indicates that TCC couldn't open the temporary file created for the clip: pseudo-device emulation. I doubt it's a hardware problem; more likely something like an (injected) file monitor is hanging on to the handle a little too long.

Or your Windows is eff'd up & needs rebooting.
 

Similar threads

Back
Top