typXXXX.tmp?

  • This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.
#1
What are these files, typXXXX.tmp accumulating in my temp directory?

If I "X" the console while iterating (with DO) "TYPE file | ...", along with the other things I reported earlier (console not closing) I am likely to get another one of them.
 

rconn

Administrator
Staff member
May 14, 2008
10,096
85
#2
What are these files, typXXXX.tmp accumulating in my temp directory?

If I "X" the console while iterating (with DO) "TYPE file | ...", along with the other things I reported earlier (console not closing) I am likely to get another one of them.
TCC doesn't create any files with that name. It does create a temporary file with a "typeXXX.tmp" name if you are typing an HTTP file.
 
#3
On Thu, 09 Jun 2011 19:46:35 -0400, rconn <> wrote:

|---Quote (Originally by vefatica)---
|What are these files, typXXXX.tmp accumulating in my temp directory?
|
|If I "X" the console while iterating (with DO) "TYPE file | ...", along with the other things I reported earlier (console not closing) I am likely to get another one of them.
|---End Quote---
|
|TCC doesn't create any files with that name. It does create a temporary file with a "typeXXX.tmp" name if you are typing an HTTP file.

Yes, that's what I was doing, TYPE http://...

The names are as I said (see below). And they often don't go away if I "X" the
console or Ctrl-C the command because it's taking too long.

And (since I'm using FOLDERMONITOR below) if the TYPE command involves a pipe
(like the one above) and it's given in the same console as the FOLDERMONITOR
command, I don't see the FOLDERMONITOR report. Is FOLDERMONITOR's output being
redirected? Compare these:

Code:
v:\> foldermonitor %temp created 5 `echo %_folderaction %_folderfile1`

v:\> type [URL='http://www.google.com']http://www.google.com[/URL]
CREATED typ2EF0.tmp
<!doctype html><html><head> (SNIP)

v:\> type [URL='http://www.google.com']http://www.google.com[/URL] | grep doctype
<!doctype html><html><head>(SNIP)
 

rconn

Administrator
Staff member
May 14, 2008
10,096
85
#4
And (since I'm using FOLDERMONITOR below) if the TYPE command involves a pipe (like the one above) and it's given in the same console as the FOLDERMONITOR command, I don't see the FOLDERMONITOR report. Is FOLDERMONITOR's output being redirected?
WAD. If you redirect a console (either with a pipe or a >), it changes its STDOUT until the redirected command ends. If you then have an asynchronous monitoring (or ON ...) command try to write it STDOUT, it will go wherever it's been currently redirected. There's only one STDOUT per console, not one per command!