- Jun
- 789
- 7
The help for "Alias" says, "Whenever you start a second copy of TCC which uses a local alias list, it inherits a copy of the aliases from the previous shell." But, when I try this (see below), the second copy has no aliases. Is the help wrong or am I doing something wrong?
Sometimes a btm file that I write conflicts with an alias that I define. So, I put "unalias *" at the beginning of btm files. But, with a global alias list, I lose my aliases while the btm file is running. So, I tried local aliases. They work pretty well, but I have one btm file where I want to do
start /c /inv Foo
where Foo is an alias defined in the same btm file. With local aliases, the second copy of TCC that "start" starts sees foo as undefined. Is there an alternative to making foo a btm?
C:\>unalias *
C:\>alias
TCC: No aliases defined
C:\>alias foo=dir
C:\>alias
foo=dir
C:\>"c:\Program Files\JPSoft\TCmd11\TCC.exe"
TCC 11.00.52 Windows Vista [Version 6.0.6002]
Copyright 2010 Rex Conn & JP Software Inc. All Rights Reserved
Registered to davidmarcus - 1 System License
C:\>alias
TCC: No aliases defined
C:\>ver /r
TCC 11.00.52 Windows Vista [Version 6.0.6002]
TCC Build 52 Windows Vista Build 6002 Service Pack 2
Registered to davidmarcus - 1 System License
Sometimes a btm file that I write conflicts with an alias that I define. So, I put "unalias *" at the beginning of btm files. But, with a global alias list, I lose my aliases while the btm file is running. So, I tried local aliases. They work pretty well, but I have one btm file where I want to do
start /c /inv Foo
where Foo is an alias defined in the same btm file. With local aliases, the second copy of TCC that "start" starts sees foo as undefined. Is there an alternative to making foo a btm?
C:\>unalias *
C:\>alias
TCC: No aliases defined
C:\>alias foo=dir
C:\>alias
foo=dir
C:\>"c:\Program Files\JPSoft\TCmd11\TCC.exe"
TCC 11.00.52 Windows Vista [Version 6.0.6002]
Copyright 2010 Rex Conn & JP Software Inc. All Rights Reserved
Registered to davidmarcus - 1 System License
C:\>alias
TCC: No aliases defined
C:\>ver /r
TCC 11.00.52 Windows Vista [Version 6.0.6002]
TCC Build 52 Windows Vista Build 6002 Service Pack 2
Registered to davidmarcus - 1 System License