Popular: Data updated November 24, 2026

Categories

Internet1,425
Communication330
Audio & video940
Graphics & design567
Office & productivity1,189
Developer tools3,297
AI tools611
Security & privacy409
System tools3,206
Games545
Education & science242
Network & IT295

File silent install & uninstall

File: determine file type; Complete package, except sources

Commands for installing File without prompts, removing it again and detecting it from deployment tools. A command is shown only when it is certain: from the manifest or the installer technology’s documented default.

Related guide: Silent install switches: MSI, NSIS, Inno Setup · Uninstall a program with the registry or PowerShell

With winget

PowerShell
winget install --id GnuWin32.File -e --silent --accept-package-agreements --accept-source-agreements
winget upgrade --id GnuWin32.File -e --silent
winget uninstall --id GnuWin32.File -e --silent

By installer

32-bit · EXE (Inno Setup)

Silent installdownload /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-
Custom folderdownload /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\file"

PowerShell: download, verify, install

Downloads the official file, checks its SHA256 and installs it silently.

install-file.ps1
$url = 'https://sourceforge.net/projects/gnuwin32/files/file/5.03/file-5.03-setup.exe/download'
$sha256 = '0DB86B11F518A2CA53AFE7A5D3F9666F4D9B5CB23D7CE4369654CCFC75D2C857'
$file = Join-Path $env:TEMP 'download'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process -FilePath $file -ArgumentList '/VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-' -Wait

Most popular in Terminals & CLI tools

See all
  1. PowerShellPowerShell is a cross-platform task automation solution made up of a command-line shell, a scripting language, and a configuration management framework. PowerShell runs on Windows, Linux, and macOS.
  2. QPDFQPDF is a command-line tool and C++ library that performs content-preserving transformations on PDF files.
  3. Oh My PoshPrompt theme engine for any shell
  4. Microsoft Azure CLIThe Azure command-line interface (Azure CLI) is a set of commands used to create and manage Azure resources. The Azure CLI is available across Azure services and is designed to get you working quickly with Azure, with an emphasis on automation.
  5. yqyq is a portable command-line YAML, JSON, XML, CSV and properties processor.
  6. fzfA general-purpose command-line fuzzy finder
  7. AlacrittyAlacritty is a free and open-source GPU accelerated terminal emulator focused on performance and simplicity.
  8. PuTTYA free implementation of SSH and Telnet for Windows and Unix platforms, along with an xterm terminal emulator.
  9. cURLCommand line tool and library for transferring data with URLs
  10. TabbyA terminal for a more modern age.

More from GnuWin32

See all
  • GnuWin32: M4M4: macro processor
  • GnuWin32: BisonYacc-compatible parser generator
  • GnuWin32: CpioGNU cpio copies files into or out of a cpio or tar archive. The archive can be another file on the disk, a magnetic tape, or a pipe.
  • GnuWin32: DiffUtilsGNU Diffutils is a package of several programs related to finding differences between files.
  • GnuWin32: FindUtils`find' is a program which searches a directory tree to find a file or group of files.
  • GnuWin32: Flexfast lexical analyzer generator

Tags

Share