Skip to content

Struct WshShell_PS1Data_t

ClassList > WshShell_PS1Data_t

Runtime data used for PS1 (prompt string) expansion. More...

  • #include <wsh_shell_ps1_custom.h>

Public Attributes

Type Name
const WshShell_Char_t * DevName
WshShell_Char_t * InterCmdName
const WshShell_Char_t * UserName

Detailed Description

This structure provides the dynamic values that can be substituted into the PS1 template string (WSH_SHELL_PS1_TEMPLATE).

Members: * UserName — Current user name string (used by u). * DevName — Device name string (used by d). * InterCmdName — Optional intermediate command or context-specific string that can be injected into the prompt. Can be NULL if not used.

Public Attributes Documentation

variable DevName

const WshShell_Char_t* WshShell_PS1Data_t::DevName;

Device name string, used in d.


variable InterCmdName

WshShell_Char_t* WshShell_PS1Data_t::InterCmdName;

Intermediate/temporary command name or context string.


variable UserName

const WshShell_Char_t* WshShell_PS1Data_t::UserName;

User name string, used in u.



The documentation for this class was generated from the following file src/wsh_shell_ps1_custom.h