Prompt
From Environment Variables
Prompt environment variable returns the command prompt settings for the current interpreter. This value may be changed using the DOS Prompt command. [1]
echo %Prompt% P$G$
Default value
The default value of Prompr environment variable is in most cases P$G$.
References
See also
AllUsersProfile | AppData | CD | ClientName | CmdCmdLine | CmdExtVersion | ComSpec | CommonProgramFiles | ComputerName | Date | ErrorLevel | HomeDrive | HomePath | LocalAppData | LogonServer | Number Of Processors | OS | Path | PathExt | Processor Architecture | Processor Identifier | Processor Level | Processor Revision | ProgramFiles | Prompt | Random | SessionName | SystemDrive | SystemRoot | Temp | Time | Tmp | UserDnsDomain | UserDomain | UserName | UserProfile | WinDir