Last updated
File: determine file type; Complete package, except sources
$ winget install --id GnuWin32.File --exact --version 5.03Run in Command Prompt, PowerShell, or Windows Terminal. Prompts for any agreements.
File uses EXE (Inno Setup). The silent install switches are /VERYSILENT /SUPPRESSMSGBOXES /NORESTART.
installer.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART
For IT teams
App deployment, patching, and remote support in one place. Push this app to every device you manage, keep it patched automatically, and see new CVEs the moment they land. Works with Intune or fully standalone.
Sign up freeFree for up to 5 devices.
The file command is "a file type guesser", that is, a command-line tool that tells you in words what kind of data a file contains. Unlike most GUI systems, command-line UNIX systems - with this program leading the charge - don't rely on filename extentions to tell you the type of a file, but look at the file's actual contents. This is, of course, more reliable, but requires a bit of I/O.
| Architecture | Type | Scope | Install | Download |
|---|---|---|---|---|
| x86 | EXE Inno Setup | - | Direct |
Copy a command tailored to that specific architecture, type, and scope - useful when winget would otherwise pick a different default.
No known CVEs for File.
Coverage is best-effort and depends on a winget package mapping to an NVD CPE entry. Absence here is not a guarantee of safety.