I'm using TCC on WinXP SP2. My TCC prompt shows the current dir, which often ends up being a very long string (e.g. "C:\Documents and Settings\Someone\My Documents\My Pictures\Category>"). I'm trying to come up with a way to shorten this prompt, by either displaying only the last two tokens of the current path (".../My Pictures/Category>"), or simply truncating everything but the 15 rightmost characters ("...ctures/Category>"). It doesn't seem like the standard prompt syntax allows any string operations on the $p variable which displays the current dir. I'm trying to deal with the problem by using ANSI codes in the prompt definition to shift the cursor left and wipe parts of the prompt. However, it looks like TCC doesn't support a few ANSI codes that would come handy, like ESC n G (move cursor to the nth column without changing row) and ESC 1 K (clear from cursor to the beginning of line; ESC 0 K - clear to the end of line works). Is there any other way of solving this? In case it matters, I'm setting the prompt definition via the AutoRun registry key under Command Processor, though it shouldn't make any difference.