"Here-String" redirection not working

  • This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.
#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
 

rconn

Administrator
Staff member
May 14, 2008
10,103
85
#2
Howard Goldstein wrote:

> 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.
Not reproducible here with Vista or Server 2008. I'll fire up an XP
system to try.

Rex Conn
JP Software
 
May 29, 2008
517
3
Groton, CT
#3
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
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"
 

Charles Dye

Super Moderator
Staff member
May 20, 2008
3,385
39
Albuquerque, NM
prospero.unm.edu
#4
Re: &quot;Here-String&quot; redirection not working

Repeatable here, same versions of everything mentioned.
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:\>
 

dim

Dimitry Andric
May 31, 2008
203
0
Netherlands
#5
On 2009-04-28 04:37, Charles Dye wrote:

> C:\>list <<< This is an internal command.
> TCC: (Sys) The parameter is incorrect.
> "C:\DOCUME~1\Charles\LOCALS~1\Temp\Her24.tmp"
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"
 
Oct 29, 2008
83
0
#6
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).