Wingetlywingetly
← All apps

File

by GnuWin32v5.03

Last updated

File: determine file type; Complete package, except sources

Install with winget

$ winget install --id GnuWin32.File --exact --version 5.03

Run in Command Prompt, PowerShell, or Windows Terminal. Prompts for any agreements.

Silent install command for File

File uses EXE (Inno Setup). The silent install switches are /VERYSILENT /SUPPRESSMSGBOXES /NORESTART.

One-line silent install (x86)
installer.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART

See the full silent install reference for File

Built by Pckgr

For Intune admins

Stop chasing app updates. Pckgr patches them for you.

Automated application patching for Microsoft Intune. Pckgr keeps a curated library of 1,000+ apps continuously up-to-date in your tenant via Microsoft Graph - no manual repackaging, no chasing vendor sites.

Start free 30-day trial

No credit card required.

About

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.

Installers · v5.03

ArchitectureTypeScopeInstallDownload
x86EXE
Inno Setup
-Direct

Copy a command tailored to that specific architecture, type, and scope - useful when winget would otherwise pick a different default.

Security

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.

Related apps

  • GnuWin32: MakeGnuWin32
    GnuWin32.Makev3.81

    GnuWin32.Make

  • GnuWin32: GzipGnuWin32
    GnuWin32.Gzipv1.3.12-1

    gzip (GNU zip) is a compression utility designed to be a replacement for compress. Its main advantages over compress are much better compression and freedom from patented algorithms.

  • GnuWin32: UnZipGnuWin32
    GnuWin32.UnZipv5.51-1

    UnZip is an extraction utility for archives compressed in .zip format (also called "zipfiles").

  • GnuWin32: GrepGnuWin32
    GnuWin32.Grepv2.5.4

    Grep searches one or more input files for lines containing a match to a specified pattern. By default, grep prints the matching lines.

  • GnuWin32: GetTextGnuWin32
    GnuWin32.GetTextv0.14.4

    GetText: library and tools for native language support

  • GnuWin32: ZipGnuWin32
    GnuWin32.Zipv3.0

    Zip is a compression and file packaging/archive utility. Although \highly compatible both with PKWARE's PKZIP and PKUNZIP utilities for MS-DOS and with Info-ZIP's own UnZip, our primary objectives have been portability and other-than-MSDOS functionality.

More from GnuWin32 or browse gnuwin32, file.

Frequently asked questions

How do I install File on Windows?
Open Windows Terminal, PowerShell, or Command Prompt and run: winget install --id GnuWin32.File --exact --version 5.03. winget downloads the installer from GnuWin32 and runs it. Requires Windows 10 (1809+) or Windows 11.
How do I install File silently for unattended deployment?
Add --silent and accept the agreements upfront: winget install --id GnuWin32.File --exact 5.03 --silent --accept-package-agreements --accept-source-agreements. This is the variant Intune, Configuration Manager, and other deployment tools should use.
What are the silent install switches for File?
File uses EXE (Inno Setup). Run the downloaded installer with: installer.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART. The silent switches are /VERYSILENT /SUPPRESSMSGBOXES /NORESTART.
How do I uninstall File via winget?
Run: winget uninstall --id GnuWin32.File --exact. Add --silent for unattended uninstalls. winget will use the registered uninstaller from File's Apps & Features entry.
Is File free?
File is distributed under GnuWin License. Refer to the publisher (https://gnuwin32.sourceforge.net/packages/file.htm) for the full license terms - Wingetly itself does not charge for installation.
Does File work on Windows 10?
Yes, as long as your Windows 10 build supports winget (1809 or newer). winget ships with App Installer on Windows 10/11 and pulls File directly from the publisher.
How do I keep File up to date?
Run winget upgrade --id GnuWin32.File --exact, or winget upgrade --all to update everything winget tracks. We index 1 version of File from microsoft/winget-pkgs.