1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

typXXXX.tmp?

Discussion in 'Support' started by vefatica, Jun 8, 2011.

  1. vefatica

    Joined:
    May 20, 2008
    Messages:
    7,938
    Likes Received:
    30
    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.
     
  2. rconn

    rconn Administrator
    Staff Member

    Joined:
    May 14, 2008
    Messages:
    9,854
    Likes Received:
    83
    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. vefatica

    Joined:
    May 20, 2008
    Messages:
    7,938
    Likes Received:
    30
    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)
     
  4. rconn

    rconn Administrator
    Staff Member

    Joined:
    May 14, 2008
    Messages:
    9,854
    Likes Received:
    83
    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!
     

Share This Page