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

"Here-String" redirection not working

Discussion in 'Support' started by Howard Goldstein, Apr 27, 2009.

  1. Howard Goldstein

    Joined:
    Jun 1, 2008
    Messages:
    111
    Likes Received:
    1
    TCC 10.00.67 Windows XP [Version 5.1.2600]
    TCC Build 67 Windows XP Build 2600 Service Pack 3

    When I try to use the "Here-String" redirection syntax, I get an error such
    as the following:

    C:\...\TCMD10>more <<< This is a test.
    TCC: (Sys) The parameter is incorrect.
    "C:\DOCUME~1\Howard\LOCALS~1\Temp\Her1E.tmp"
    C:\...\TCMD10>

    After receiving the error, I can see that the temporary file has been
    created correctly, but for some reason TCC can't read it back. I have tried
    eliminating all aliases, TCSTART and TCMD.INI and I get the same results.
    It doesn't matter whether TCC is running standalone or inside TCMD.

    --
    Howard
     
  2. rconn

    rconn Administrator
    Staff Member

    Joined:
    May 14, 2008
    Messages:
    9,860
    Likes Received:
    83
    Howard Goldstein wrote:

    Not reproducible here with Vista or Server 2008. I'll fire up an XP
    system to try.

    Rex Conn
    JP Software
     
  3. dcantor

    Joined:
    May 29, 2008
    Messages:
    507
    Likes Received:
    3
    Repeatable here, same versions of everything mentioned.

    Code:
    > more <<< This is a test.
    TCC: (Sys) The parameter is incorrect.
     "C:\DOCUME~1\DCantor\LOCALS~1\Temp\Her21D0.tmp"
    
     
  4. Charles Dye

    Charles Dye Super Moderator
    Staff Member

    Joined:
    May 20, 2008
    Messages:
    3,307
    Likes Received:
    39
    Re: &quot;Here-String&quot; redirection not working

    Code:
     
    TCC  10.00.67   Windows XP [Version 5.1.2600]
    TCC Build 67   Windows XP Build 2600  Service Pack 3
    Registered to Charles Dye - 5 System License
     
    C:\>list <<< This is an internal command.
    TCC: (Sys) The parameter is incorrect.
     "C:\DOCUME~1\Charles\LOCALS~1\Temp\Her24.tmp"
     
    C:\>
    
     
  5. dim

    dim Dimitry Andric

    Joined:
    May 31, 2008
    Messages:
    203
    Likes Received:
    0
    On 2009-04-28 04:37, Charles Dye wrote:

    Same here on XP64:

    D:\>echo %TEMP% %TMP% %TMPDIR%
    D:\Tmp D:\Tmp D:\Tmp

    D:\>type <<< __EOF__
    TCC: (Sys) The parameter is incorrect.
    "D:\Tmp\Her5.tmp"
     
  6. jabelli

    Joined:
    Oct 29, 2008
    Messages:
    83
    Likes Received:
    0
    Confirmed here on XP, Server 2003 (in Virtual PC), and Windows 7 build 7000 (VPC). Confirmed to not be a problem in Vista (VPC) and Server 2008 (VPC).
     
  7. Charles Dye

    Charles Dye Super Moderator
    Staff Member

    Joined:
    May 20, 2008
    Messages:
    3,307
    Likes Received:
    39
    Re: &quot;Here-String&quot; redirection not working

    Works as expected in build 68, on XP SP3.
     

Share This Page