The Tech Edvocate

Top Menu

  • Advertisement
  • Apps
  • Home Page
  • Home Page Five (No Sidebar)
  • Home Page Four
  • Home Page Three
  • Home Page Two
  • Home Tech2
  • Icons [No Sidebar]
  • Left Sidbear Page
  • Lynch Educational Consulting
  • My Account
  • My Speaking Page
  • Newsletter Sign Up Confirmation
  • Newsletter Unsubscription
  • Our Brands
  • Page Example
  • Privacy Policy
  • Protected Content
  • Register
  • Request a Product Review
  • Shop
  • Shortcodes Examples
  • Signup
  • Start Here
    • Governance
    • Careers
    • Contact Us
  • Terms and Conditions
  • The Edvocate
  • The Tech Edvocate Product Guide
  • Topics
  • Write For Us
  • Advertise

Main Menu

  • Start Here
    • Our Brands
    • Governance
      • Lynch Educational Consulting, LLC.
      • Dr. Lynch’s Personal Website
      • Careers
    • Write For Us
    • The Tech Edvocate Product Guide
    • Contact Us
    • Books
    • Edupedia
    • Post a Job
    • The Edvocate Podcast
    • Terms and Conditions
    • Privacy Policy
  • Topics
    • Assistive Technology
    • Child Development Tech
    • Early Childhood & K-12 EdTech
    • EdTech Futures
    • EdTech News
    • EdTech Policy & Reform
    • EdTech Startups & Businesses
    • Higher Education EdTech
    • Online Learning & eLearning
    • Parent & Family Tech
    • Personalized Learning
    • Product Reviews
  • Advertise
  • Tech Edvocate Awards
  • The Edvocate
  • Pedagogue
  • School Ratings

logo

The Tech Edvocate

  • Start Here
    • Our Brands
    • Governance
      • Lynch Educational Consulting, LLC.
      • Dr. Lynch’s Personal Website
        • My Speaking Page
      • Careers
    • Write For Us
    • The Tech Edvocate Product Guide
    • Contact Us
    • Books
    • Edupedia
    • Post a Job
    • The Edvocate Podcast
    • Terms and Conditions
    • Privacy Policy
  • Topics
    • Assistive Technology
    • Child Development Tech
    • Early Childhood & K-12 EdTech
    • EdTech Futures
    • EdTech News
    • EdTech Policy & Reform
    • EdTech Startups & Businesses
    • Higher Education EdTech
    • Online Learning & eLearning
    • Parent & Family Tech
    • Personalized Learning
    • Product Reviews
  • Advertise
  • Tech Edvocate Awards
  • The Edvocate
  • Pedagogue
  • School Ratings
  • A Visitors Guide to Corpus Christi (TX), United States

  • Best GetYourGuide tours in Paris

  • Does Viator offer group discounts?

  • Hotels.com vs Airbnb features

  • What is Regus Business Lounge?

  • What is Couchsurfing verification?

  • How to use Viator gift cards?

  • Klook payment methods accepted

  • Best Notion templates for teams

  • WeWork vs traditional office cost

Digital & Mobile Technology
Home›Digital & Mobile Technology›How to Zip or Unzip Files Using the Command Prompt and Windows PowerShell

How to Zip or Unzip Files Using the Command Prompt and Windows PowerShell

By Matthew Lynch
August 5, 2023
0
Spread the love

Zipping and unzipping files is a task that most computer users need to do at some point in time. While there are a lot of tools available for zipping and unzipping files, the command prompt and Windows PowerShell also offer this functionality. Here is a step-by-step guide on how to zip or unzip files using the command prompt and Windows PowerShell.

Zipping Files Using Command Prompt

  1. Open the command prompt. You can do this by pressing the Windows key + R on your keyboard and then typing cmd in the Run dialog box.
  2. Navigate to the folder that contains the files you want to zip. You can use the cd command to move to different directories.
  3. Type the following command to zip the files:

“`command

zip -r filename.zip foldername

“`

Replace filename.zip with the name you want to give to the zipped file and foldername with the name of the folder you want to zip. The -r option is used to include all subfolders in the zipped file.

  1. Press the Enter key to execute the command. The zip file will be created in the same folder where the original files were located.

Unzipping Files Using Command Prompt

  1. Open the command prompt.
  2. Navigate to the folder that contains the zipped file.
  3. Type the following command to unzip the file:

“`command

unzip filename.zip

“`

Replace filename.zip with the name of the zipped file.

  1. Press the Enter key to execute the command. The files will be extracted to the same folder where the zipped file was located.

Zipping Files Using Windows PowerShell

  1. Open Windows PowerShell. You can do this by pressing the Windows key + R on your keyboard and then typing powershell in the Run dialog box.
  2. Navigate to the folder that contains the files you want to zip.
  3. Type the following command to zip the files:

“`powershell

Compress-Archive -Path * -DestinationPath filename.zip

“`

Replace filename.zip with the name you want to give to the zipped file.

  1. Press the Enter key to execute the command. The zip file will be created in the same folder where the original files were located.

Unzipping Files Using Windows PowerShell

  1. Open Windows PowerShell.
  2. Navigate to the folder that contains the zipped file.
  3. Type the following command to unzip the file:

“`powershell

Expand-Archive -Path filename.zip -DestinationPath .

“`

Replace filename.zip with the name of the zipped file.

  1. Press the Enter key to execute the command. The files will be extracted to the same folder where the zipped file was located.
Previous Article

Apps on iPhone for Identifying Bugs and ...

Next Article

The Perfect Online Dating Profile Picture, According ...

Matthew Lynch

Related articles More from author

  • Digital & Mobile Technology

    The Best Social Fitness Apps to Work Out With Friends

    June 15, 2023
    By Matthew Lynch
  • Digital & Mobile Technology

    A Complete Guide to Microsoft 365 (Formerly Microsoft Office)

    May 31, 2023
    By Matthew Lynch
  • Digital & Mobile Technology

    Use Siri and Apple Reminders for the Best Shopping Lists on iPhone

    June 13, 2023
    By Matthew Lynch
  • Digital & Mobile Technology

    The Best Expense Tracking Apps for Android

    June 6, 2023
    By Matthew Lynch
  • Digital & Mobile Technology

    Reasons TikTok Is Bad for Everyone

    August 5, 2023
    By Matthew Lynch
  • Digital & Mobile Technology

    A Guide to Windows 10’s Power Options

    June 6, 2023
    By Matthew Lynch

Search

Login & Registration

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org

Newsletter

Signup for The Tech Edvocate Newsletter and have the latest in EdTech news and opinion delivered to your email address!

About Us

Since technology is not going anywhere and does more good than harm, adapting is the best course of action. That is where The Tech Edvocate comes in. We plan to cover the PreK-12 and Higher Education EdTech sectors and provide our readers with the latest news and opinion on the subject. From time to time, I will invite other voices to weigh in on important issues in EdTech. We hope to provide a well-rounded, multi-faceted look at the past, present, the future of EdTech in the US and internationally.

We started this journey back in June 2016, and we plan to continue it for many more years to come. I hope that you will join us in this discussion of the past, present and future of EdTech and lend your own insight to the issues that are discussed.

Newsletter

Signup for The Tech Edvocate Newsletter and have the latest in EdTech news and opinion delivered to your email address!

Contact Us

The Tech Edvocate
910 Goddin Street
Richmond, VA 23231
(601) 630-5238
[email protected]

Copyright © 2026 Matthew Lynch. All rights reserved.