CmdCmdLine

From Environment Variables
Jump to: navigation, search

CmdCmdLine environment variable returns the exact command line used to start the current cmd.exe session. The variable is hidden.[1]

echo %CmdCmdLine%
"C:\Windows\system32\cmd.exe"

Default value

The default value of CmdCmdLine environment variable is "C:\Windows\system32\cmd.exe".

References

  1. Environment Variable Reference

See also

AllUsersProfile | AppData | CD | ClientName | CmdCmdLine | CmdExtVersion | CommonProgramFiles | ComputerName | ComSpec | 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


Personal tools
Namespaces

Variants
Actions
Navigation
Catalogue
Google AdSense
Tools