TCC 10.00.60 Windows XP [Version 5.1.2600]
TCC Build 60 Windows XP Build 2600 Service Pack 3
Empty tcmd.ini and tcstart.btm
When I make an alias that contains multiple commands and "the rest" of
the parameters and try to redirect the output, the redirected output
is just part of the alias.
How can I redirect everything that the alias outputs?
[D:\]alias foo `(echo all="%1$" %+ echo first="%1")`
[D:\]foo a b
all="a b"
first="a"
[D:\]foo a b > test.txt
all="a b > test.txt"
first="a"
[D:\]dir /k /m test.txt
TCC: (Sys) The system cannot find the file specified.
"D:\test.txt"
[D:\]foo > test.txt
all="> test.txt"
first=">"
[D:\]foo
all=""
first=""
--
Jim Cook
2009 Saturdays: 4/4, 6/6, 8/8, 10/10, 12/12 and 5/9, 9/5, 7/11, 11/7.
Next year they're Sunday.
TCC Build 60 Windows XP Build 2600 Service Pack 3
Empty tcmd.ini and tcstart.btm
When I make an alias that contains multiple commands and "the rest" of
the parameters and try to redirect the output, the redirected output
is just part of the alias.
How can I redirect everything that the alias outputs?
[D:\]alias foo `(echo all="%1$" %+ echo first="%1")`
[D:\]foo a b
all="a b"
first="a"
[D:\]foo a b > test.txt
all="a b > test.txt"
first="a"
[D:\]dir /k /m test.txt
TCC: (Sys) The system cannot find the file specified.
"D:\test.txt"
[D:\]foo > test.txt
all="> test.txt"
first=">"
[D:\]foo
all=""
first=""
--
Jim Cook
2009 Saturdays: 4/4, 6/6, 8/8, 10/10, 12/12 and 5/9, 9/5, 7/11, 11/7.
Next year they're Sunday.