{"id":13241,"date":"2024-06-11T11:19:08","date_gmt":"2024-06-11T11:19:08","guid":{"rendered":"https:\/\/www.bodhost.com\/kb\/?p=13241"},"modified":"2026-06-03T09:55:36","modified_gmt":"2026-06-03T09:55:36","slug":"how-to-unzip-files-via-command-prompt","status":"publish","type":"post","link":"https:\/\/www.bodhost.com\/kb\/how-to-unzip-files-via-command-prompt\/","title":{"rendered":"How to Unzip Files in CMD (Windows 10 &#038; 11) &#8211;  4 Methods"},"content":{"rendered":"<p>Need to extract a ZIP file without touching your mouse? Windows gives you four solid ways to unzip from the command line no third-party tools required for most cases. This guide covers all of them, from the simplest one-liner to batch extraction and password-protected archives.<\/p>\n<h4><strong>Method 1: Using tar in Command Prompt (built-in)<\/strong><\/h4>\n<p>Windows includes a built-in tar command, so you can extract standard ZIP archives without installing additional software.<\/p>\n<p><strong>Basic extraction (same folder)<\/strong><\/p>\n<p>Open Command Prompt, navigate to the folder containing your ZIP file, and run:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-15352 aligncenter\" src=\"https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2024\/06\/Screenshot-2026-06-03-135907.png\" alt=\"tar\" width=\"608\" height=\"34\" srcset=\"https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2024\/06\/Screenshot-2026-06-03-135907.png 608w, https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2024\/06\/Screenshot-2026-06-03-135907-300x17.png 300w\" sizes=\"auto, (max-width: 608px) 100vw, 608px\" \/><\/p>\n<p>The files will be extracted into the current directory.<\/p>\n<p><strong>Extract to a specific destination folder<\/strong><\/p>\n<p>Use the <strong>-C<\/strong> flag followed by the destination path:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-15353\" src=\"https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2024\/06\/flag-.png\" alt=\"flag \" width=\"602\" height=\"28\" srcset=\"https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2024\/06\/flag-.png 602w, https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2024\/06\/flag--300x14.png 300w\" sizes=\"auto, (max-width: 602px) 100vw, 602px\" \/><\/p>\n<blockquote><p>i: The destination folder must already exist. If it doesn&#8217;t, create it first with mkdir &#8220;C:\\path\\to\\folder,&#8221; then run the tar command.<\/p><\/blockquote>\n<h5><strong>Step-by-step walkthrough<\/strong><\/h5>\n<p>1. Open <a href=\"https:\/\/www.bodhost.com\/kb\/change-directories-in-command-prompt\/\" target=\"_blank\" rel=\"noopener\">Command Prompt<\/a>. Right-click the Start menu and select Terminal (Admin) or Command Prompt (Admin).<\/p>\n<p>2. Navigate to the ZIP file location using the cd command:<\/p>\n<blockquote><p>cd C:\\Users\\YourName\\Downloads<\/p><\/blockquote>\n<p>3. Run the extraction command. Replace filename.zip with your actual file name:<\/p>\n<blockquote><p>tar -xf filename.zip<\/p><\/blockquote>\n<p>4. Done. The contents appear in the same folder. No confirmation message is shown on success; that&#8217;s normal.<\/p>\n<p><span style=\"text-decoration: underline;\">Useful tar flags:<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-15354\" src=\"https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2024\/06\/Use-for-Flags.png\" alt=\"Use for Flags\" width=\"594\" height=\"88\" srcset=\"https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2024\/06\/Use-for-Flags.png 594w, https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2024\/06\/Use-for-Flags-300x44.png 300w\" sizes=\"auto, (max-width: 594px) 100vw, 594px\" \/><\/p>\n<h4><strong>Method 2: Using PowerShell&#8217;s Expand-Archive<\/strong><\/h4>\n<p>PowerShell&#8217;s Expand-Archive cmdlet is the most flexible native option, with better path handling and the ability to overwrite existing files.<\/p>\n<p><strong>Basic syntax<\/strong><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-15355\" src=\"https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2024\/06\/Basic-Syntax.png\" alt=\"Syntax\" width=\"603\" height=\"35\" srcset=\"https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2024\/06\/Basic-Syntax.png 603w, https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2024\/06\/Basic-Syntax-300x17.png 300w\" sizes=\"auto, (max-width: 603px) 100vw, 603px\" \/><\/p>\n<p><strong>Common usage examples<\/strong><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-15356\" src=\"https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2024\/06\/Common-Usage.png\" alt=\"Common Usage\" width=\"595\" height=\"210\" srcset=\"https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2024\/06\/Common-Usage.png 595w, https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2024\/06\/Common-Usage-300x106.png 300w\" sizes=\"auto, (max-width: 595px) 100vw, 595px\" \/><\/p>\n<blockquote><p>PowerShell creates the destination folder automatically if it doesn&#8217;t exist \u2014 unlike tar, which requires the folder to exist first.<\/p><\/blockquote>\n<h5><strong>How to open PowerShell<\/strong><\/h5>\n<p>Press Win + X and choose Terminal or Windows PowerShell. On Windows 11, PowerShell is the default terminal. You can also type PowerShell directly into the CMD window.<\/p>\n<p><strong>Check PowerShell version (required: 5.0+)<\/strong><\/p>\n<p>Expand-Archive requires PowerShell 5.0 or later. To check:<\/p>\n<blockquote><p>$PSVersionTable.PSVersion<\/p><\/blockquote>\n<p>All modern Windows 10 and Windows 11 systems have PowerShell 5.1 or later installed by default.<\/p>\n<h4><strong>Method 3: Unzipping .7z files with 7-Zip via CMD<\/strong><\/h4>\n<p>Windows has no built-in support for .7z archives. To handle them from the command line, install 7-Zip (free and open-source), which also installs a command-line executable.<\/p>\n<p><strong>Step 1 \u2014 Install 7-Zip: <\/strong>Download the installer from 7-zip.org and install it. The default installation path is C:\\Program Files\\7-Zip\\.<\/p>\n<p><strong>Step 2 \u2014 Add 7-Zip to your PATH:<\/strong> This lets you call 7z from any folder in CMD. If you skip this, prefix every command with the full path &#8220;C:\\Program Files\\7-Zip\\7z.exe&#8221;.<\/p>\n<p><strong>Step 3 \u2014 Extract the archive<\/strong><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-15357\" src=\"https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2024\/06\/Extract-.png\" alt=\"Extract \" width=\"601\" height=\"158\" srcset=\"https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2024\/06\/Extract-.png 601w, https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2024\/06\/Extract--300x79.png 300w\" sizes=\"auto, (max-width: 601px) 100vw, 601px\" \/><\/p>\n<blockquote><p>i Note: there is no space between -o and the path. Writing -o &#8220;C:\\Output&#8221; with a space will cause an error.<\/p><\/blockquote>\n<p>7-Zip command reference<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-15358\" src=\"https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2024\/06\/Zip-command-reference.png\" alt=\"Zip command reference\" width=\"597\" height=\"101\" srcset=\"https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2024\/06\/Zip-command-reference.png 597w, https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2024\/06\/Zip-command-reference-300x51.png 300w\" sizes=\"auto, (max-width: 597px) 100vw, 597px\" \/><\/p>\n<p>7-Zip works with ZIP, 7z, TAR, GZ, RAR, ISO, and many other formats, making it the most versatile command-line extraction tool on Windows.<\/p>\n<h4><strong>Method 4: Unzipping password-protected ZIP files<\/strong><\/h4>\n<p>Windows&#8217; built-in tar command does not support password-protected archives. For this, you need either 7-Zip or PowerShell with the right module.<\/p>\n<p><strong>Using 7-Zip (recommended)<\/strong><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-15359\" src=\"https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2024\/06\/Using-7-Zip.png\" alt=\"Using 7-Zip\" width=\"599\" height=\"105\" srcset=\"https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2024\/06\/Using-7-Zip.png 599w, https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2024\/06\/Using-7-Zip-300x53.png 300w\" sizes=\"auto, (max-width: 599px) 100vw, 599px\" \/><\/p>\n<h4><strong>Method comparison<\/strong><\/h4>\n<p>Not sure which method to use? Here&#8217;s a quick reference:<\/p>\n<table class=\"compare-table\">\n<thead>\n<tr>\n<th><strong><span style=\"color: #000000;\">Method<\/span><\/strong><\/th>\n<th><strong><span style=\"color: #000000;\">Needs installation?<\/span><\/strong><\/th>\n<th><strong><span style=\"color: #000000;\">ZIP<\/span><\/strong><\/th>\n<th><strong><span style=\"color: #000000;\">.7z \/ RAR<\/span><\/strong><\/th>\n<th><strong><span style=\"color: #000000;\">Password<\/span><\/strong><\/th>\n<th><strong><span style=\"color: #000000;\">Best for<\/span><\/strong><\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td><span class=\"method-name\">tar (CMD)<\/span><\/td>\n<td><span class=\"check\">No<\/span><\/td>\n<td><span class=\"check\">\u2713<\/span><\/td>\n<td><span class=\"cross\">\u2717<\/span><\/td>\n<td><span class=\"cross\">\u2717<\/span><\/td>\n<td>Quick ZIP extraction, no setup<\/td>\n<\/tr>\n<tr>\n<td><span class=\"method-name\">Expand-Archive<\/span><\/td>\n<td><span class=\"check\">No<\/span><\/td>\n<td><span class=\"check\">\u2713<\/span><\/td>\n<td><span class=\"cross\">\u2717<\/span><\/td>\n<td><span class=\"cross\">\u2717<\/span><\/td>\n<td>Scripting, batch jobs, and auto-create folders<\/td>\n<\/tr>\n<tr>\n<td><span class=\"method-name\">7-Zip (7z)<\/span><\/td>\n<td>Yes (free)<\/td>\n<td><span class=\"check\">\u2713<\/span><\/td>\n<td><span class=\"check\">\u2713<\/span><\/td>\n<td><span class=\"check\">\u2713<\/span><\/td>\n<td>All archive types, passwords, and advanced use<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h4><strong>Common errors and how to fix them<\/strong><\/h4>\n<pre><span style=\"text-decoration: underline;\"><strong>Error: tar: Error opening archive: Failed to open\r\n<\/strong><\/span><strong>Cause:<\/strong> The file path is wrong, or the file doesn't exist in the current directory.\r\n<strong>Fix:<\/strong> Run dir to list files in the current folder and confirm the exact filename and extension. Use cd to navigate to the correct folder first.<\/pre>\n<pre><span style=\"text-decoration: underline;\"><strong>Error: Access is denied<\/strong><\/span>\r\n<strong>Cause:<\/strong> CMD or PowerShell is not running with Administrator privileges.\r\n<strong>Fix:<\/strong> Close the terminal and reopen it by right-clicking and selecting Run as administrator.<\/pre>\n<pre><span style=\"text-decoration: underline;\"><strong>Error: Expand-Archive: The path already exists\r\n<\/strong><\/span><strong>Cause:<\/strong> Files from a previous extraction already exist in the destination folder.\r\n<strong>Fix:<\/strong> Add -Force to the command to overwrite existing files: Expand-Archive -Path file.zip -DestinationPath .\\output -Force<\/pre>\n<pre><span style=\"text-decoration: underline;\"><strong>Error: tar is not recognized as an internal or external command\r\n<\/strong><\/span><strong>Cause:<\/strong> Your Windows version predates the tar integration (pre-Windows 10 build 17063).\r\n<strong>Fix:<\/strong> Update Windows 10 to a recent version, use PowerShell's Expand-Archive instead, or install 7-Zip.<\/pre>\n<pre><span style=\"text-decoration: underline;\"><strong>Archive extracts, but files appear corrupt or incomplete\r\n<\/strong><\/span><strong>Cause:<\/strong> The ZIP file itself may be corrupt, or the download was interrupted.\r\n<strong>Fix:<\/strong> Re-download the file. To verify archive integrity with 7-Zip before extracting: 7z t filename.zip<\/pre>\n<h5><strong>FAQs<\/strong><\/h5>\n<ol>\n<li><strong>How do I unzip a file in CMD on Windows 11?<br \/>\n<\/strong>Use the built-in tar command: navigate to the folder with cd, then run tar -xf filename.zip. For a specific destination, add -C &#8220;C:\\path\\to\\folder&#8221;. Windows 11 also supports PowerShell&#8217;s Expand-Archive, which is often easier for scripting.<\/li>\n<li><strong>Can I unzip files without installing any software?<br \/>\n<\/strong>Yes. Both tar (in CMD) and Expand-Archive (in PowerShell) are built into Windows 10 and 11. No third-party software is needed for standard ZIP files. For .7z, RAR, or password-protected archives, you will need 7-Zip.<\/li>\n<li><strong>What&#8217;s the difference between tar -xf and Expand-Archive?<br \/>\n<\/strong>Both extract ZIP files natively. The main practical differences: Expand-Archive automatically creates the destination folder if it doesn&#8217;t exist, while tar requires the folder to exist first. PowerShell&#8217;s Expand-Archive is also better for scripting and batch operations. For quick one-off extractions, either works.<\/li>\n<li><strong>How do I unzip a .7z file using CMD?<br \/>\n<\/strong>Install 7-Zip from 7-zip.org, then run 7z x filename.7z in CMD. To extract to a specific folder, use 7z x filename.7z -o&#8221;C:\\Output&#8221; (no space between -o and the path).<\/li>\n<li><strong>How do I zip files using Command Prompt?<br \/>\n<\/strong>Use the tar command with the -cf flag: tar -cf archive.zip file1.txt file2.txt. In PowerShell, use Compress-Archive -Path &#8220;C:\\folder&#8221; -DestinationPath &#8220;C:\\archive.zip&#8221;. See our full guide on zipping files via the command prompt.<\/li>\n<li><strong>How do I unzip multiple files at once in CMD?<br \/>\n<\/strong>In PowerShell, run: Get-ChildItem -Filter *.zip | ForEach-Object { Expand-Archive -Path $_.FullName -DestinationPath ($_.BaseName) -Force } this extracts each ZIP into its own subfolder named after the archive.<\/li>\n<li><strong>How do I unzip files in Windows 10 without WinZip?<br \/>\n<\/strong>Windows 10 has built-in extraction tools. In File Explorer, right-click the ZIP and choose Extract All. From CMD, use tar -xf filename.zip. From PowerShell, use Expand-Archive -Path filename.zip -DestinationPath .\\output. No paid tools like WinZip are needed.<\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n<p>Once you&#8217;ve extracted your files, you can compress them again using the same tar command. Here&#8217;s how: [<a href=\"https:\/\/www.bodhost.com\/kb\/how-to-zip-files-using-command-prompt\/\" target=\"_blank\" rel=\"noopener\">How to Zip Files via Command Prompt<\/a> ]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Need to extract a ZIP file without touching your mouse? Windows gives you four solid ways to unzip from the command line no third-party tools required for most cases. This&hellip;<\/p>\n<p><a href=\"https:\/\/www.bodhost.com\/kb\/how-to-unzip-files-via-command-prompt\/\" class=\"more-link\">Read More<\/a><\/p>\n","protected":false},"author":21,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[666],"tags":[1539],"class_list":["post-13241","post","type-post","status-publish","format-standard","hentry","category-general","tag-unzip-files-via-command"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Unzip Files via Command Prompt in Windows<\/title>\n<meta name=\"description\" content=\"There may be times when you need to unzip files on your Windows computer, and you can easily do this with Command Prompt.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.bodhost.com\/kb\/how-to-unzip-files-via-command-prompt\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Unzip Files via Command Prompt in Windows\" \/>\n<meta property=\"og:description\" content=\"There may be times when you need to unzip files on your Windows computer, and you can easily do this with Command Prompt.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.bodhost.com\/kb\/how-to-unzip-files-via-command-prompt\/\" \/>\n<meta property=\"og:site_name\" content=\"Knowledge Base - bodHOST\" \/>\n<meta property=\"article:published_time\" content=\"2024-06-11T11:19:08+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-06-03T09:55:36+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2024\/06\/Screenshot-2026-06-03-135907.png\" \/>\n\t<meta property=\"og:image:width\" content=\"608\" \/>\n\t<meta property=\"og:image:height\" content=\"34\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Serena\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Serena\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"6 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/how-to-unzip-files-via-command-prompt\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/how-to-unzip-files-via-command-prompt\\\/\"},\"author\":{\"name\":\"Serena\",\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/#\\\/schema\\\/person\\\/ffd3f118493c99471ae5bd4790a55830\"},\"headline\":\"How to Unzip Files in CMD (Windows 10 &#038; 11) &#8211; 4 Methods\",\"datePublished\":\"2024-06-11T11:19:08+00:00\",\"dateModified\":\"2026-06-03T09:55:36+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/how-to-unzip-files-via-command-prompt\\\/\"},\"wordCount\":888,\"publisher\":{\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/how-to-unzip-files-via-command-prompt\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/wp-content\\\/uploads\\\/2024\\\/06\\\/Screenshot-2026-06-03-135907.png\",\"keywords\":[\"unzip Files via Command\"],\"articleSection\":[\"General Discussion\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/how-to-unzip-files-via-command-prompt\\\/\",\"url\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/how-to-unzip-files-via-command-prompt\\\/\",\"name\":\"How to Unzip Files via Command Prompt in Windows\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/how-to-unzip-files-via-command-prompt\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/how-to-unzip-files-via-command-prompt\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/wp-content\\\/uploads\\\/2024\\\/06\\\/Screenshot-2026-06-03-135907.png\",\"datePublished\":\"2024-06-11T11:19:08+00:00\",\"dateModified\":\"2026-06-03T09:55:36+00:00\",\"description\":\"There may be times when you need to unzip files on your Windows computer, and you can easily do this with Command Prompt.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/how-to-unzip-files-via-command-prompt\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/how-to-unzip-files-via-command-prompt\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/how-to-unzip-files-via-command-prompt\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/wp-content\\\/uploads\\\/2024\\\/06\\\/Screenshot-2026-06-03-135907.png\",\"contentUrl\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/wp-content\\\/uploads\\\/2024\\\/06\\\/Screenshot-2026-06-03-135907.png\",\"width\":608,\"height\":34,\"caption\":\"tar\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/how-to-unzip-files-via-command-prompt\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"General Discussion\",\"item\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/category\\\/general\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Unzip Files in CMD (Windows 10 &#038; 11) &#8211; 4 Methods\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/#website\",\"url\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/\",\"name\":\"Web Hosting Knowledge Base | bodHOST Hosting FAQ\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/#organization\"},\"alternateName\":\"Web Hosting Knowledge Base | bodHOST Hosting FAQ\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/#organization\",\"name\":\"Web Hosting Knowledge Base | bodHOST Hosting FAQ\",\"url\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/wp-content\\\/uploads\\\/2025\\\/10\\\/Profile-Pic.png\",\"contentUrl\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/wp-content\\\/uploads\\\/2025\\\/10\\\/Profile-Pic.png\",\"width\":240,\"height\":240,\"caption\":\"Web Hosting Knowledge Base | bodHOST Hosting FAQ\"},\"image\":{\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/#\\\/schema\\\/person\\\/ffd3f118493c99471ae5bd4790a55830\",\"name\":\"Serena\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/8bf3c9f6220a13a4d46295ad7c38a0c9e351ca3a57d0e417580c8e8b83a12a50?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/8bf3c9f6220a13a4d46295ad7c38a0c9e351ca3a57d0e417580c8e8b83a12a50?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/8bf3c9f6220a13a4d46295ad7c38a0c9e351ca3a57d0e417580c8e8b83a12a50?s=96&d=mm&r=g\",\"caption\":\"Serena\"},\"url\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/author\\\/seema\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Unzip Files via Command Prompt in Windows","description":"There may be times when you need to unzip files on your Windows computer, and you can easily do this with Command Prompt.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.bodhost.com\/kb\/how-to-unzip-files-via-command-prompt\/","og_locale":"en_US","og_type":"article","og_title":"How to Unzip Files via Command Prompt in Windows","og_description":"There may be times when you need to unzip files on your Windows computer, and you can easily do this with Command Prompt.","og_url":"https:\/\/www.bodhost.com\/kb\/how-to-unzip-files-via-command-prompt\/","og_site_name":"Knowledge Base - bodHOST","article_published_time":"2024-06-11T11:19:08+00:00","article_modified_time":"2026-06-03T09:55:36+00:00","og_image":[{"width":608,"height":34,"url":"https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2024\/06\/Screenshot-2026-06-03-135907.png","type":"image\/png"}],"author":"Serena","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Serena","Est. reading time":"6 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.bodhost.com\/kb\/how-to-unzip-files-via-command-prompt\/#article","isPartOf":{"@id":"https:\/\/www.bodhost.com\/kb\/how-to-unzip-files-via-command-prompt\/"},"author":{"name":"Serena","@id":"https:\/\/www.bodhost.com\/kb\/#\/schema\/person\/ffd3f118493c99471ae5bd4790a55830"},"headline":"How to Unzip Files in CMD (Windows 10 &#038; 11) &#8211; 4 Methods","datePublished":"2024-06-11T11:19:08+00:00","dateModified":"2026-06-03T09:55:36+00:00","mainEntityOfPage":{"@id":"https:\/\/www.bodhost.com\/kb\/how-to-unzip-files-via-command-prompt\/"},"wordCount":888,"publisher":{"@id":"https:\/\/www.bodhost.com\/kb\/#organization"},"image":{"@id":"https:\/\/www.bodhost.com\/kb\/how-to-unzip-files-via-command-prompt\/#primaryimage"},"thumbnailUrl":"https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2024\/06\/Screenshot-2026-06-03-135907.png","keywords":["unzip Files via Command"],"articleSection":["General Discussion"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.bodhost.com\/kb\/how-to-unzip-files-via-command-prompt\/","url":"https:\/\/www.bodhost.com\/kb\/how-to-unzip-files-via-command-prompt\/","name":"How to Unzip Files via Command Prompt in Windows","isPartOf":{"@id":"https:\/\/www.bodhost.com\/kb\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.bodhost.com\/kb\/how-to-unzip-files-via-command-prompt\/#primaryimage"},"image":{"@id":"https:\/\/www.bodhost.com\/kb\/how-to-unzip-files-via-command-prompt\/#primaryimage"},"thumbnailUrl":"https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2024\/06\/Screenshot-2026-06-03-135907.png","datePublished":"2024-06-11T11:19:08+00:00","dateModified":"2026-06-03T09:55:36+00:00","description":"There may be times when you need to unzip files on your Windows computer, and you can easily do this with Command Prompt.","breadcrumb":{"@id":"https:\/\/www.bodhost.com\/kb\/how-to-unzip-files-via-command-prompt\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.bodhost.com\/kb\/how-to-unzip-files-via-command-prompt\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.bodhost.com\/kb\/how-to-unzip-files-via-command-prompt\/#primaryimage","url":"https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2024\/06\/Screenshot-2026-06-03-135907.png","contentUrl":"https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2024\/06\/Screenshot-2026-06-03-135907.png","width":608,"height":34,"caption":"tar"},{"@type":"BreadcrumbList","@id":"https:\/\/www.bodhost.com\/kb\/how-to-unzip-files-via-command-prompt\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"General Discussion","item":"https:\/\/www.bodhost.com\/kb\/category\/general\/"},{"@type":"ListItem","position":2,"name":"How to Unzip Files in CMD (Windows 10 &#038; 11) &#8211; 4 Methods"}]},{"@type":"WebSite","@id":"https:\/\/www.bodhost.com\/kb\/#website","url":"https:\/\/www.bodhost.com\/kb\/","name":"Web Hosting Knowledge Base | bodHOST Hosting FAQ","description":"","publisher":{"@id":"https:\/\/www.bodhost.com\/kb\/#organization"},"alternateName":"Web Hosting Knowledge Base | bodHOST Hosting FAQ","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.bodhost.com\/kb\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.bodhost.com\/kb\/#organization","name":"Web Hosting Knowledge Base | bodHOST Hosting FAQ","url":"https:\/\/www.bodhost.com\/kb\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.bodhost.com\/kb\/#\/schema\/logo\/image\/","url":"https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2025\/10\/Profile-Pic.png","contentUrl":"https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2025\/10\/Profile-Pic.png","width":240,"height":240,"caption":"Web Hosting Knowledge Base | bodHOST Hosting FAQ"},"image":{"@id":"https:\/\/www.bodhost.com\/kb\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/www.bodhost.com\/kb\/#\/schema\/person\/ffd3f118493c99471ae5bd4790a55830","name":"Serena","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/8bf3c9f6220a13a4d46295ad7c38a0c9e351ca3a57d0e417580c8e8b83a12a50?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/8bf3c9f6220a13a4d46295ad7c38a0c9e351ca3a57d0e417580c8e8b83a12a50?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/8bf3c9f6220a13a4d46295ad7c38a0c9e351ca3a57d0e417580c8e8b83a12a50?s=96&d=mm&r=g","caption":"Serena"},"url":"https:\/\/www.bodhost.com\/kb\/author\/seema\/"}]}},"_links":{"self":[{"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/posts\/13241","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/users\/21"}],"replies":[{"embeddable":true,"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/comments?post=13241"}],"version-history":[{"count":17,"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/posts\/13241\/revisions"}],"predecessor-version":[{"id":15368,"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/posts\/13241\/revisions\/15368"}],"wp:attachment":[{"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/media?parent=13241"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/categories?post=13241"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/tags?post=13241"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}