- Jun
- 113
- 7
Is there a single command that will display a list of all TCC Internal variables, just like set (with no arguments) will display a list of all environment variables? I am willing to add a plugin to solve this.
By registering with us, you'll be able to discuss, share and private message with other members of our community.
SignUp Now!_4ver
_?
_acstatus
_admin
_afswcell
_alt
_ansi
_batch
_batchlabel
_batchline
_batchname
_batchpath
_batchtype
_battery
_batterylife
_batterypercent
_bdebugger
_bg
_boot
_btdevicecount
_btradiocount
_btservicecount
_build
_capslock
_cdroms
_childpid
_ci
_cmdline
_cmdproc
_cmdspec
_co
_codepage
_column
_columns
_consoleb
_consolepids
_country
_cpu
_cpuusage
_ctrl
_cwd
_cwds
_cwp
_cwps
_darkenabled
_darksupported
_date
_datetime
_day
_detachpid
_disk
_dname
_dos
_dosver
_dow
_dowf
_dowi
_doy
_drives
_dst
_dvds
_echo
_editmode
_elevated
_execarray
_execstr
_exit
_expansion
_fg
_filearray
_ftperror
_gpsalt
_gpsazimuth
_gpselevation
_gpserrorradius
_gpsfixquality
_gpsfixtype
_gpshdop
_gpsheading
_gpsids
_gpslat
_gpslon
_gpsmagheading
_gpsnmea
_gpsopmode
_gpspdop
_gpsprns
_gpsprns
_gpssatsinview
_gpssatsused
_gpsselmode
_gpssnr
_gpsspeed
_gpsstatus
_gpsvdop
_hdrives
_highcontrast
_hlogfile
_host
_hour
_hwprofile
_hyperv
_ide
_idleticks
_idow
_idowf
_iftp
_iftps
_imonth
_imonthf
_ininame
_insert
_ip
_ipadapter
_ipadapters
_iparpproxy
_ipdns
_ipdnsother
_ipdnsserver
_iprouting
_ipv6
_isftp
_isodate
_isodowi
_isordate
_isowdate
_isoweek
_isowyear
_kbhit
_lalt
_lastdir
_lastdisk
_lctrl
_logfile
_logicaldrives
_lshift
_minute
_monitors
_month
_monthf
_msgbox_checkbox
_numlock
_openafs
_osbuild
_osbuildex
_parent
_pbatchname
_pid
_pipe
_ppid
_ralt
_rctrl
_ready
_registered
_row
_rows
_rshift
_rubytype
_rubyvalue
_scrolllock
_second
_selected
_serialports
_service
_shell
_shells
_shift
_shortcut
_shralias
_startpath
_startpid
_stderr
_stdin
_stdout
_stzn
_stzo
_syserr
_tccinstances
_tccrt
_tccrun
_tccstart
_tccver
_tcexit
_tcfilter
_tcfolder
_tclistview
_tcmdinstances
_tcstart
_tctab
_tctabactive
_tctabs
_tctabvisible
_time
_timezone
_transient
_tzn
_tzo
_unicode
_usbs
_utcdate
_utcdatetime
_utchour
_utcisodate
_utcminute
_utcsecond
_utctime
_vermajor
_verminor
_version
_virtualbox
_virtualpc
_vmware
_volume
_vxpixels
_vypixels
_windir
_winfgwindow
_winname
_winsysdir
_winticks
_wintitle
_winuser
_winver
_wow64
_wow64dir
_x64
_xen
_xmouse
_xpixels
_xwindow
_year
_ymouse
_ypixels
_ywindow
R:\>do theVar in @Internal_Variables (echo %theVar %[%theVar])
_4ver 36.51
_? 0
_acstatus 1
_admin 1
_afswcell
_alt 0
_ansi 1
_batch 0
%! Last argument of the previous command%? Exit code, last external program%_conpty 1 if running in a pseudoconsole; else 0%errorlevel Exit code of last program (the only one that does not begin with underscore!)Thought I could display the values of each of the internal variables,
but it stops at _batchlabel ;
Code:R:\>do theVar in @Internal_Variables (echo %theVar %[%theVar]) _4ver 36.51 _? 0 _acstatus 1 _admin 1 _afswcell _alt 0 _ansi 1 _batch 0
Joe
@SETLOCAL
@ECHO OFF
if isdir r:\temp set temp=r:\temp
do theVar in @Internal_Variables (echo %theVar %[%theVar])
ENDLOCAL
quit
_4ver 36.51
_? 0
_acstatus 1
_admin 1
_afswcell
_alt 0
_ansi 1
_batch 1
_batchlabel
_batchline
_batchname R:\test.btm
_batchpath R:\
_batchtype 0
_battery 128
_batterylife unknown
_batterypercent
_bdebugger 0
_bg Bla
_boot C
_btdevicecount 0
_btradiocount 0
_btservicecount 0
_build 78
_capslock
_cdroms
_childpid 0
_ci 100
_cmdline test.btm
_cmdproc TCC
_cmdspec C:\Program Files\JPSoft\TCMD36\TCC.EXE
_co 15
_codepage 437
_column 0
_columns 111
_consoleb 980
_consolepids 18652
_country 1
_cpu
_cpuusage 3
_ctrl 0
_cwd R:\
_cwds R:\
_cwp \
_cwps \
_darkenabled 1
_darksupported 1
_date 2026-08-01
_datetime 20260801081539
_day 1
_detachpid 23116
_disk R
_dname DESCRIPT.ION
_dos WINDOWS10
_dosver 10.0
_dow Sat
_dowf Saturday
_dowi 7
_doy 213
_drives C: D: E: F: M: R: U:
_dst 1
_dvds D:
_echo 0
_editmode 0
_elevated 1
_execarray
_execstr 0
_exit 0
_expansion 0
_fg Bri Gre
_filearray 0
_ftperror 0
_gpsalt Element not found.
_gpsazimuth Element not found.
_gpselevation Element not found.
_gpserrorradius Element not found.
_gpsfixquality Element not found.
_gpsfixtype Element not found.
_gpshdop Element not found.
_gpsheading Element not found.
_gpsids Element not found.
_gpslat Element not found.
_gpslon Element not found.
_gpsmagheading Element not found.
_gpsnmea Element not found.
_gpsopmode Element not found.
_gpspdop Element not found.
_gpsprns Element not found.
_gpsprns Element not found.
_gpssatsinview Element not found.
_gpssatsused Element not found.
_gpsselmode Element not found.
_gpssnr Element not found.
_gpsspeed Element not found.
_gpsstatus Element not found.
_gpsvdop Element not found.
_hdrives C: E: F: M: R: U:
_highcontrast 0
_hlogfile e:\utils\history.txt
_host DESKTOP-LFBF7P3
_hour 8
_hwprofile Undocked Profile
_hyperv 0
_ide 0
_idleticks 281
_idow Sat
_idowf Saturday
_iftp 0
_iftps 0
_imonth Aug
_imonthf August
_ininame C:\Program Files\JPSoft\TCMD36\TCMD.INI
_insert 0
_ip
_ipadapter 0
_ipadapters
_iparpproxy
_ipdns 0
_ipdnsother 192.168.1.1
_ipdnsserver 10.2.0.1
_iprouting
_ipv6 ::1
_isftp
_isodate 2026-08-01
_isodowi 6
_isordate 2026-213
_isowdate 2026-W31-6
_isoweek 31
_isowyear 2026
_kbhit 0
_lalt 0
_lastdir E:\Downloads
_lastdisk U
_lctrl 0
_logfile C:\ProgramData\JP Software\Take Command 36\TCCommandLog
_logicaldrives C:\ D:\ E:\ F:\ M:\ R:\ U:\
_lshift 0
_minute 15
_monitors 1
_month 8
_monthf August
_msgbox_checkbox 0
_numlock 1
_openafs 0
_osbuild 19045
_osbuildex 19045.7548
_parent C:\WINDOWS\Explorer.EXE
_pbatchname
_pid 18652
_pipe 0
_ppid 10492
_ralt 0
_rctrl 0
_ready C: E: F: M: R: U:
_registered DESKTOP-LFBF7P3
_row 26
_rows 27
_rshift 0
_rubytype
_rubyvalue
_scrolllock 0
_second 39
_selected
_serialports COM1
_service 0
_shell 0
_shells 0
_shift 0
_shortcut C:\Users\jlcav\AppData\Roaming\Microsoft\Internet Explorer\Quick Launch\User Pinned\TaskBar\tcc36.lnk
_shralias 1
_startpath C:\Program Files\JPSoft\TCMD36
_startpid 25548
_stderr 1
_stdin 1
_stdout 1
_stzn Eastern Standard Time
_stzo 300
_syserr 32
_tccinstances 2
_tccrt 0
_tccrun 25554120265
_tccstart 134300575842613819
_tccver 36.51
_tcexit
_tcfilter
_tcfolder
_tclistview
_tcmdinstances 0
_tcstart C:\Program Files\JPSoft\TCMD36\TCSTART.btm
_tctab 0
_tctabactive 0
_tctabs
_tctabvisible 0
_time 08:15:39
_timezone 300
_transient 0
_tzn Eastern Summer Time
_tzo 240
_unicode 0
_usbs F:
_utcdate
_utcdatetime 20260801121539
_utchour 12
_utcisodate 2026-08-01
_utcminute 15
_utcsecond 39
_utctime 12:15:39
_vermajor 36
_verminor 51
_version 36.51
_virtualbox 0
_virtualpc 0
_vmware 0
_volume 26
_vxpixels 1920
_vypixels 1080
_windir C:\WINDOWS
_winfgwindow
_winname DESKTOP-LFBF7P3
_winsysdir C:\WINDOWS\system32
_winticks 2666593
_wintitle Admin: tcc36 - test.btm
_winuser jlcav
_winver 10.0
_wow64
_wow64dir C:\WINDOWS\SysWOW64
_x64 1
_xen 0
_xmouse 0
_xpixels 1920
_xwindow 1936
_year 2026
_ymouse 0
_ypixels 1080
_ywindow 1056