"Hi. My laptop is running slow at times. It takes a minute to boot up and it'll freeze up at times on a webpage. When I try to close the page it doesn't close immediately. I know I have duplicate folders. The issue I'm having is how to identify and delete the RIGHT duplicate files/folders without trashing my laptop. Could someone help me with this? Thanks."
If you have multiple duplicate folders/files on your Windows Computer and want to remove those duplicates, using command can be a good choice. This article will show you how to find and delete duplicate files in Windows 10 using cmd so as to free up and speed up your Laptop/PC.
- Part 1: Find and Delete Duplicate Files Using CMD in Command Prompt
- Part 2: Find and Delete duplicate files using CMD in Windows PowerShell
- Part 3: Easier and Safer Way to Find and Delete Duplicate Files
1. Find and Delete Duplicate Files Using CMD in Command Prompt
There are various commands that can help you find and remove duplicate files on Windows. Now, let's see one of them. First of all, press Win +Q and enter cmd in search bar. Next, right-click on Command Prompt and run it as an administrator. Then follow the steps as below.
How to Find duplicate files using cmd
Step 1: In Command Prompt window, type cd /d folder path and press Enter. Before entering the command, locate the folder you want to scan for duplicate files and copy the file path. Then replace folder path with the copied file path.
Step 3: Type dir /s /b *.extension and press Enter. Then you will find that the duplicate files are listed in the Command window. Before entering the command, replace extension with the extension of duplicate file you are looking for.
How to delete duplicate files using cmd
It is worth noting that if you delete duplicate files using del command, the files will be removed from your disk and cannot be retrieved from recycle bin. Now, please follow these steps.
Step 1: In Command Window, set specific location using cmd as step 1 of finding duplicate files.
Step 2: Enter del “* – Copy.png” and hit Enter. Change -Copy.png into the real file suffix and extension before entering the command. For example, if you want to delete duplicate file with -1 .txt suffix and extension, you need to enter del “* – 1. txt”
After that, you can delete those unnecessary duplicate files with the same extension successfully.
2. Find and Delete duplicate files using CMD in PowerShell
In addition to Command Prompt, Windows PowerShell also allows you to automatically find and remove duplicate files using cmd. Here come the steps.
Step 1: Right-click on Start menu and choose Windows PowerShell (Admin) to run Windows PowerShell as administrator.
Step 2: Once PowerShell window pops up, enter set-location –path C: and hit Enter.
Note: Before entering command, replace C: with the drive you want to find duplicate files.
3단계: Windows PowerShell에서 cmd를 사용하여 중복 파일을 찾으려면 다음 명령을 입력하고 Enter를 누르세요.
ls "폴더 검사" -recurse | 파일해시 가져오기 | 그룹 속성 해시 | 여기서 { $_.count -gt 1 } | % { $_.그룹 } | Out-File -FilePath "스캔 결과 위치"
참고: 여기에서 스캔 폴더를 특정 폴더로 변경하고 스캔 결과 위치를 중복 파일 목록을 내보내려는 경로로 변경해야 합니다.
위에서 언급했듯이 이 명령은 중복 파일 목록을 생성하며, 목록에 표시된 파일 경로에 따라 중복 파일을 삭제할 수 있습니다.
4단계: cmd를 사용하여 중복 파일을 자동으로 삭제하려면 다음 명령을 입력하고 Enter를 누르세요.
ls "검색 폴더" -recurse | 파일해시 가져오기 | 그룹 속성 해시 | 여기서 { $_.count -gt 1 } | % { $_.그룹 | 선택 -건너뛰기 1 } | 델
참고: 검색 폴더를 특정 폴더 경로로 바꾸세요.
3. 중복 파일을 찾고 삭제하는 더 쉽고 안전한 방법
Windows에서 중복 파일을 찾고 삭제하기 위해 cmd를 사용하는 것과 비교할 때, 전문적인 중복 파일 찾기를 사용하는 것이 훨씬 쉬워 보입니다. 여기에서 iSumsoft DupFile Refixer를 꼭 사용해 보세요. iSumsoft DupFile Refixer는 Windows에서 모든 형식의 중복 파일을 자동으로 감지하고 정렬하도록 설계된 유용하고 안정적인 유틸리티입니다. 또한 여러 파일/폴더에 걸쳐 모든 중복 파일을 한 번에 대량 삭제하는 데 도움이 될 수 있습니다.
Windows에 iSumsoft DupFile Refixer를 설치하고 cmd를 사용하지 않고 중복 파일을 찾아 삭제하는 방법을 알아보세요.
다운로드
1단계: 이 중복 파일 찾기를 설치한 후 실행하고 아이콘 추가를 클릭하여 스캔 폴더/드라이브를 선택하세요.
2단계: 원하는 드라이브/폴더를 스캔 디렉터리에 추가한 후 스캔 시작을 클릭하면 자동으로 중복 파일이 있는지 확인됩니다.
3단계: 스캔이 완료되면 iSumsoft DupFile Refixer는 파일 이름, 확장자, 크기 및 날짜와 함께 모든 중복 파일을 표시하는 스캔 보고서를 생성합니다. 파일 이름 상자를 클릭하면 모든 중복 파일을 일괄 삭제할 수 있습니다. 중복 파일에 대한 자세한 내용을 확인하려면 해당 파일을 마우스 오른쪽 버튼으로 클릭하고 파일 위치 열기
를 선택하세요.
추가 팁
iSumsoft DupFile Refixer를 사용하면 홈 페이지에서 설정
을 클릭하여 스캔 항목을 필터링하도록 스캔 설정을 사용자 정의할 수 있습니다.1. 모든 유형
확인란을 선택하면 사진, 비디오, 오디오 등을 포함한 모든 종류의 중복 파일을 검색할 수 있습니다.2. 특정 크기의 중복 파일을 검색하려면 최소 크기와 최대 크기를 입력할 수 있습니다.
3. 스캔하는 동안 숨겨진 파일, 시스템 파일, 프로그램 파일 및 휴지통에 있는 파일을 건너뛸 수 있습니다.
설정이 완료되면 확인을 클릭하여 설정을 저장하세요.
結論
Windows コンピューター上の重複ファイルを見つけて削除するには、コマンドの使用が良いオプションです。ただし、より簡単で安全な方法をお探しの場合は、Windows 上で重複ファイルを正確に見つけて迅速に削除できる、 iSumsoft DupFile Refixer のような効果的で使いやすい重複ファイル ファインダーを使用することをお勧めします。
The above is the detailed content of How to Find and Delete Duplicate Files in Windows 10 Using CMD. For more information, please follow other related articles on the PHP Chinese website!

The Acer PD163Q Dual Portable Monitor: A Connectivity Nightmare I had high hopes for the Acer PD163Q. The concept of dual portable displays, conveniently connecting via a single cable, was incredibly appealing. Unfortunately, this alluring idea quic

Upgrade to Windows 11: Enhance Your PC Gaming Experience Windows 11 offers exciting new gaming features that significantly improve your PC gaming experience. This upgrade is worth considering for any PC gamer moving from Windows 10. Auto HDR: Eleva

Article discusses reliable sources for permanent Windows 11 activation keys in 2024, legal implications of third-party keys, and risks of using unofficial keys.

Listary: Supercharge Your Windows Workflow Listary is a powerful tool that significantly enhances Windows productivity by offering lightning-fast file searching, versatile system control, and seamless cross-application integration. Its intuitive des

Firefox 136 and Thunderbird 136: Enhanced Security and Performance The latest releases of Firefox and Thunderbird bring significant improvements in video playback smoothness, browsing security, and overall user experience. Let's delve into the key u

A table of contents is a total game-changer when working with large files – it keeps everything organized and easy to navigate. Unfortunately, unlike Word, Microsoft Excel doesn’t have a simple “Table of Contents” button that adds t

Article discusses sources for a permanent Windows 11 key valid until 2025, legal issues, and risks of using unofficial keys. Advises caution and legality.

Alienware AW3225QF: The best curved 4K display, is it worth buying? The Alienware AW3225QF is known as the best curved 4K display, and its powerful performance is unquestionable. The fast response time, stunning HDR effects and unlimited contrast, coupled with excellent color performance, are the advantages of this monitor. Although it is mainly aimed at gamers, if you can accept the shortcomings of OLED, it is also suitable for office workers who pursue high efficiency. Widescreen monitors are not only loved by gamers, but also favored by users who value productivity improvement. They are great for work and enhance anyone’s desktop experience. This Alienware monitor is usually expensive, but is currently enjoying it


Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

MinGW - Minimalist GNU for Windows
This project is in the process of being migrated to osdn.net/projects/mingw, you can continue to follow us there. MinGW: A native Windows port of the GNU Compiler Collection (GCC), freely distributable import libraries and header files for building native Windows applications; includes extensions to the MSVC runtime to support C99 functionality. All MinGW software can run on 64-bit Windows platforms.

DVWA
Damn Vulnerable Web App (DVWA) is a PHP/MySQL web application that is very vulnerable. Its main goals are to be an aid for security professionals to test their skills and tools in a legal environment, to help web developers better understand the process of securing web applications, and to help teachers/students teach/learn in a classroom environment Web application security. The goal of DVWA is to practice some of the most common web vulnerabilities through a simple and straightforward interface, with varying degrees of difficulty. Please note that this software

SecLists
SecLists is the ultimate security tester's companion. It is a collection of various types of lists that are frequently used during security assessments, all in one place. SecLists helps make security testing more efficient and productive by conveniently providing all the lists a security tester might need. List types include usernames, passwords, URLs, fuzzing payloads, sensitive data patterns, web shells, and more. The tester can simply pull this repository onto a new test machine and he will have access to every type of list he needs.

WebStorm Mac version
Useful JavaScript development tools

SublimeText3 Linux new version
SublimeText3 Linux latest version
