= Batch Shell Variables = <> ---- == Special Variables == ||'''Variable''' ||'''Value''' || ||`%CD%` ||current working directory, ending in a slash (`/`) unless in a drive root|| ||`%TIME%` ||system time in a localized format || ||`%DATE%` ||system date in a localized format || ||`%RANDOM%` ||a generated pseudorandom number between 0 and 32767 || ||`%ERRORLEVEL%` ||error level returned by the most recent command or script || ||`%CMDEXTVERSION%`||version of Command Processor Extensions used by `cmd.exe` || ||`%CMDCMDLINE%` ||command used to start `cmd.exe` || ---- CategoryRicottone