How to get current 'prompt' string?

Apr 7, 2010
My batch script needs to prepend a string to the current prompt string ... to identify the current virtual environment, similar to activating a python virtual environment.

CMD.EXE sets the PROMPT environment variable; TCC does not.

Is there a way to get the current prompt string?