Menus

ConsoleZ

Text formatting

Syntax:

%u

User name

%p

Shell process ID


%P

Last process ID attached to the console


%n

Tab number (the position in tabs bar)


%i

Tab index (the position in settings)


%m

Main window title (defined in settings or -w parameter)


%t

Tab title (defined in settings)


%s

Shell title


%d

Current directory


%D

Current directory leaf


%%

%


%?

?


%(

(


%)

)


%:

:


%A

y if running as administrator


%U

y if running as user


%N

y if running as user (net only)


?x( ... )

if x is defined then ... ; x can be u, m, t, s, d, D, A, U or N


?x( ... ):( ... )

if x is defined then ... else ... ; x can be u, m, t, s, d, D, A, U or N


?x:( ... )

if x is undefined then ... ; x can be u, m, t, s, d, D, A, U or N


Examples:

"C:\Program Files (x86)\Windows Kits\8.0\Debuggers\x64\windbg.exe" must be escaped like this: "C%:\Program Files %(x86%)\Windows Kits\8.0\Debuggers\x64\windbg.exe".

"%ProgramFiles(x86)%\Windows Kits\8.0\Debuggers\x64\windbg.exe" must be escaped like this: "%%ProgramFiles%(x86%)%%\Windows Kits\8.0\Debuggers\x64\windbg.exe".