Downloads of v


Last Update:

21 Apr 2016

Package Maintainer(s):

Software Author(s):

  • Christian Ghisler


file manager shareware nagscreen

Total Commander

This is not the latest version of Total Commander available. | Updated: 21 Apr 2016



Downloads of v


Software Author(s):

  • Christian Ghisler

Total Commander

This is not the latest version of Total Commander available.

Some Checks Have Failed or Are Not Yet Complete

1 Test Passing and 1 Failing Test

Validation Testing Passed

Verification Testing Failed


To install Total Commander, run the following command from the command line or from PowerShell:


To upgrade Total Commander, run the following command from the command line or from PowerShell:


To uninstall Total Commander, run the following command from the command line or from PowerShell:


NOTE: This applies to both open source and commercial editions of Chocolatey.

1. Ensure you are set for organizational deployment

Please see the organizational deployment guide

  • Open Source or Commercial:
    • Proxy Repository - Create a proxy nuget repository on Nexus, Artifactory Pro, or a proxy Chocolatey repository on ProGet. Point your upstream to Packages cache on first access automatically. Make sure your choco clients are using your proxy repository as a source and NOT the default community repository. See source command for more information.
    • You can also just download the package and push it to a repository Download

3. Enter your internal repository url

(this should look similar to

4. Choose your deployment method:

choco upgrade totalcommander -y --source="'STEP 3 URL'" [other options]

See options you can pass to upgrade.

See best practices for scripting.

Add this to a PowerShell script or use a Batch script with tools and in places where you are calling directly to Chocolatey. If you are integrating, keep in mind enhanced exit codes.

If you do use a PowerShell script, use the following to ensure bad exit codes are shown as failures:

choco upgrade totalcommander -y --source="'STEP 3 URL'"

Write-Verbose "Exit code was $exitCode"
$validExitCodes = @(0, 1605, 1614, 1641, 3010)
if ($validExitCodes -contains $exitCode) {
  Exit 0

Exit $exitCode

- name: Ensure totalcommander installed
    name: totalcommander
    state: present
    source: STEP 3 URL

See docs at

Coming early 2020! Central Managment Reporting available now! More information...

chocolatey_package 'totalcommander' do
  action    :install
  version  ''
  source   'STEP 3 URL'

See docs at

    Name: totalcommander,
    Source: STEP 3 URL

Requires Otter Chocolatey Extension. See docs at

cChocoPackageInstaller totalcommander
   Name     = 'totalcommander'
   Ensure   = 'Present'
   Version  = ''
   Source   = 'STEP 3 URL'

Requires cChoco DSC Resource. See docs at

package { 'totalcommander':
  provider => 'chocolatey',
  ensure   => '',
  source   => 'STEP 3 URL',

Requires Puppet Chocolatey Provider module. See docs at

salt '*' chocolatey.install totalcommander version="" source="STEP 3 URL"

See docs at

5. If applicable - Chocolatey configuration/installation

See infrastructure management matrix for Chocolatey configuration elements and examples.

This package was approved by moderator jberezanski on 22 Apr 2016.


Total Commander is a file manager replacement for Windows. Features: Drag/Drop from and to explorer/desktop. Packer shell for ZIP/ARJ/LHA/RAR/UC2/TAR/GZ/CAB/ACE. Command line, full text search also in packed files, button bar. Supports over 40 languages. FTP client, access to Network Neighborhood, Uuencode/Decode, compare, synchronize dirs. Changes: Unicode support, CHM help, names up to 1022 chars, breadcrumb bar, password safe, quick filter.

Plugin downloads
Plugin development

Commercial software

Total Commander is a Shareware program. This means that you can test it for a period of 30 days. After testing the program, you must either order the full version, or delete the program from your harddisk.

$packageName = 'totalcommander'
$url = ''
$checksum = '891b040acbe23ca5f77b0a5c44e7932fa837244b'
$url64 = $url
$checksum64 = $checksum
$installerType = 'exe'
$silentArgs = ''
$checksumType = 'sha1'
$checksumType64 = 'sha1'
$toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
$chocoTempDir = Join-Path $Env:Temp "chocolatey"
$tempDir = Join-Path $chocoTempDir "$packageName"
if (![System.IO.Directory]::Exists($tempDir)) {[System.IO.Directory]::CreateDirectory($tempDir)}
$tcmdWork = Join-Path $tempDir "tcmd"
$zipFile = Join-Path $tempDir "tcmd.exe"

$arguments = @{}
$packageParameters = $env:chocolateyPackageParameters
# To override the default options set below: /localUser /desktopIcon /installPath="c:\totalcmd"
$localUser = 'UserName=*' #default: install for all users
$desktopIcon = 'mkdesktop=0' #default: no desktop icon
$installPath = 'Dir=%ProgramFiles%\totalcmd'

# Parse packageParameters with regular expressions
if ($packageParameters) {
    $match_pattern = "\/(?<option>([a-zA-Z]+))=(?<value>([`"'])?([a-zA-Z0-9- _\\=\.\:]+)([`"'])?)|\/(?<option>([a-zA-Z]+))"
    $option_name = 'option'
    $value_name = 'value'

    if ($packageParameters -match $match_pattern ){
      $results = $packageParameters | Select-String $match_pattern -AllMatches
      $results.matches | % {
    } else {
        Throw "Package Parameters were found but were invalid (REGEX Failure)"

    if ($arguments.ContainsKey("LocalUser")) {
        Write-Host "Only installing for local user"
        $localUser = 'UserName='

    if ($arguments.ContainsKey("DesktopIcon")) {
        Write-Host "You want a desktop icon"
        $desktopIcon = 'mkdesktop=1'

    if ($arguments.ContainsKey("InstallPath")) {
        $customInstallPath = $arguments["InstallPath"]
        Write-Host "You want to use a custom Installation Path: ""$customInstallPath"""
        $installPath = 'Dir=' + $customInstallPath
} else {
  Write-Debug "No Package Parameters passed in"

Write-Debug "This would be the Chocolatey Silent Arguments: $silentArgs"

Write-Verbose "Retrieve Total Commander data files"
Get-ChocolateyWebFile -PackageName "$packageName" `
                      -FileFullPath "$zipFile" `
                      -Url "$url" `
                      -Url64bit "$url64" `
                      -Checksum "$checksum" `
                      -Checksum64 "$checksum64" `
                      -ChecksumType "$checksumType" `
                      -ChecksumType64 "$checksumType64"

Write-Verbose "Extract EXE to change install options"
$proc = Start-Process -FilePath "7za" `
                      -ArgumentList "x -y -o`"$tcmdWork`" `"$zipFile`"" `
                      -Wait `
                      -NoNewWindow `
$exitCode = $proc.ExitCode
if($exitCode -ne 0) {
  throw "Exit Code: $exitCode. Error executing 7za to unzip $zipFile into $tempDir\tcmd"

Write-Verbose "Retrieve install launcher"
$url = ''
$checksum = '5c93fee377e2a55029f22bfb1b43760862bad671'
$checksumType = 'sha1'
$url64 = $url
$checksum64 = $checksum
$checksumType64 = $checksumType
$installExeZip = Join-Path $tempDir ""
$installExeSourceBasePath = Join-Path $tempDir "installer"
Get-ChocolateyWebFile -PackageName "$packageName" `
                      -FileFullPath "$installExeZip" `
                      -Url "$url" `
                      -Url64bit "$url64" `
                      -Checksum "$checksum" `
                      -Checksum64 "$checksum64" `
                      -ChecksumType "$checksumType" `
                      -ChecksumType64 "$checksumType64"
$proc = Start-Process -FilePath "7za" `
                      -ArgumentList "x -y -o`"$installExeSourceBasePath`" `"$installExeZip`"" `
                      -Wait `
                      -NoNewWindow `
$exitCode = $proc.ExitCode
if($exitCode -ne 0) {
  throw "Exit Code: $exitCode. Error executing 7za to unzip $sfxZip into $tempDir\tcmd"

Write-Verbose "Add launcher to extracted EXE"
if (Get-ProcessorBits 64) {
  $installExeSourceLeafDir = '64'
  $installExeTargetName = 'INSTALL64.EXE'
} else {
  $installExeSourceLeafDir = '32'
  $installExeTargetName = 'INSTALL.EXE'
$installExeSourcePath = Join-Path -Path $installExeSourceBasePath `
                     -ChildPath $installExeSourceLeafDir |
                  Join-Path -ChildPath "INSTALL.EXE"
$installExeTargetPath = Join-Path $tcmdWork $installExeTargetName
Copy-Item -Path $installExeSourcePath -Destination $installExeTargetPath -Force

Write-Verbose "Modify install options to make silent"
$installInf = Join-Path $tcmdWork "INSTALL.INF"
(Get-Content $installInf) -Replace 'UserName=',"$localUser" `
                          -Replace 'auto=0','auto=1' `
                          -Replace 'hidden=0','hidden=1' `
                          -Replace 'mkdesktop=1',"$desktopIcon" `
                          -Replace 'Dir=c:\\totalcmd',"$installPath" | Set-Content $installInf
$installInf64 = Join-Path $tcmdWork "INSTALL64.INF"
(Get-Content $installInf64) -Replace 'UserName=',"$localUser" `
                          -Replace 'auto=0','auto=1' `
                          -Replace 'hidden=0','hidden=1' `
                          -Replace 'mkdesktop=1',"$desktopIcon" `
                          -Replace 'Dir=c:\\totalcmd',"$installPath" | Set-Content $installInf64

Install-ChocolateyInstallPackage -PackageName "$packageName" `
                                 -FileType "$installerType" `
                                 -SilentArgs "$silentArgs" `
                                 -File $installExeTargetPath
; default environment
DetectHiddenWindows, off
SetControlDelay, 20

; modified environment
DetectHiddenText, off
SetTitleMatchMode, 2  ;contains

; variables
winTitle1 = Uninstall /Repair Total Commander ahk_class #32770
winTitle2 = Uninstall Total Commander ahk_class #32770
winTitle3 = Uninstall ahk_class #32770

WinWait, %winTitle1%, Removes the program, 20
ControlClick, Button1 ; &Uninstall

WinWait, %winTitle2%, Uninstall Program, 20
ControlClick, Button4 ; Remove configuration files
ControlClick, Button5 ; Uninstall

WinWait, %winTitle3%, Warning: This will, 20
ControlClick, Button1 ; Yes

WinWait, %winTitle3%, The following, 20
ControlClick, Button1 ; OK

WinWait, %winTitle3%, Program removed, 20
ControlClick, Button1 ; OK

$packageName = 'totalcommander'
$packageSearch = "Total Commander*"
$installerType = 'exe'
$silentArgs = ''
$validExitCodes = @(0)

$scriptPath = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
$ahkFile = Join-Path $scriptPath "chocolateyUninstall.ahk"
$ahkExe = 'AutoHotKey'
$ahkRun = "$Env:Temp\$(Get-Random).ahk"
Copy-Item $ahkFile "$ahkRun" -Force

Start-Process $ahkExe $ahkRun
Get-ItemProperty -Path @('HKLM:\Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\*',
                         'HKCU:\Software\Microsoft\Windows\CurrentVersion\Uninstall\*') `
                 -ErrorAction:SilentlyContinue `
| Where-Object   {$_.DisplayName -like $packageSearch} `
| ForEach-Object {Uninstall-ChocolateyPackage -PackageName "$packageName" `
                                              -FileType "$installerType" `
                                              -SilentArgs "$($silentArgs)" `
                                              -File "$($_.UninstallString)" `
                                              -ValidExitCodes $validExitCodes}
Remove-Item "$ahkRun" -Force

Log in or click on link to see number of positives.

In cases where actual malware is found, the packages are subject to removal. Software sometimes has false positives. Moderators do not necessarily validate the safety of the underlying software, only that a package retrieves software from the official distribution point and/or validate embedded software against official distribution point (where distribution rights allow redistribution).

Chocolatey Pro provides runtime protection from possible malware.

Version Downloads Last Updated Status
Total Commander 9.50 8906 Tuesday, February 18, 2020 Approved
Total Commander 9.22.1 38686 Friday, March 29, 2019 Approved
Total Commander 9.22 3446 Thursday, March 14, 2019 Approved
Total Commander 9.21.1 15599 Tuesday, October 16, 2018 Approved
Total Commander 9.21 7667 Wednesday, August 15, 2018 Approved
Total Commander 9.20 5107 Wednesday, July 4, 2018 Approved
Total Commander 4604 Monday, May 28, 2018 Approved
Total Commander 10829 Monday, February 26, 2018 Approved
Total Commander 9.12 28232 Friday, November 24, 2017 Approved



  • Automatically built and uploaded by dtgm
Discussion for the Total Commander Package

Ground Rules:

  • This discussion is only about Total Commander and the Total Commander package. If you have feedback for Chocolatey, please contact the Google Group.
  • This discussion will carry over multiple versions. If you have a comment about a particular version, please note that in your comments.
  • The maintainers of this Chocolatey Package will be notified about new comments that are posted to this Disqus thread, however, it is NOT a guarantee that you will get a response. If you do not hear back from the maintainers after posting a message below, please follow up by using the link on the left side of this page or follow this link to contact maintainers. If you still hear nothing back, please follow the package triage process.
  • Tell us what you love about the package or Total Commander, or tell us what needs improvement.
  • Share your experiences with the package, or extra configuration or gotchas that you've found.
  • If you use a url, the comment will be flagged for moderation until you've been whitelisted. Disqus moderated comments are approved on a weekly schedule if not sooner. It could take between 1-5 days for your comment to show up.
comments powered by Disqus