Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

The - command

May
603
0
TCC 9.02.154 Windows XP [Version 5.1.2600]
TCC Build 154 Windows XP Build 2600 Service Pack 3

When I type a single dash "-" I toggle between the two most recent folders.
However, using "which -" or trying to find help for it does not appear to
work. ("- is an unknown command".)
I believe the command is intentional. Is it actually documented somewhere I
should have found?

--
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.
 
When I type a single dash "-" I toggle between the two most recent folders.
However, using "which -" or trying to find help for it does not appear to
work. ("- is an unknown command".)
I believe the command is intentional. Is it actually documented somewhere I
should have found?

It's mentioned in the help for CDD. I agree that it would be nice if WHICH recognized it.
 
dcantor wrote:
| ---Quote (Originally by Jim Cook)---
| TCC 9.02.154 Windows XP [Version 5.1.2600]
| TCC Build 154 Windows XP Build 2600 Service Pack 3
|
| When I type a single dash "-" I toggle between the two most recent
| folders.
| However, using "which -" or trying to find help for it does not
| appear to
| work. ("- is an unknown command".)
| I believe the command is intentional. Is it actually documented
| somewhere I
| should have found?
| ---End Quote---
| I suspect that it's simply a relative directory specification, and TC
| is just doing an implicit CD to the path you specified. Try
| entering %TEMP for example, and TC will do an implicit CD %TEMP.

It is documented as the symbolic parameter of the CD and CDD commands for
"immediate previous working directory". When used without the actual
command, it is indeed used as the target of an "implicit CDD" command.
--
Steve
 

Similar threads

Back
Top