Introduction

In this post we will see how to delete files having too long path in Windows Operating System. Sometimes we face problem while try to delete directories or files having too long path in Windows Operating System.

So in this tutorial I will tell you few simple steps by which you can delete directories or files having too long path in Windows Operating System.

You do not need to use any special tool for deleting the file or folder.

Deletion Steps

Please follow these simple steps

  1. Create an empty folder called test or any name as you wish on C or D or any other drive.
  2. Use following DOS command to delete the too long name directories using command prompt:
    • robocopy /MIR c:\test D:\Folder\FolderToDelete > NUL
  3. The directory FolderToDelete will be emptied and you can delete it later any time.
  4. You can also delete test directory any time.

Where D:\Folder\FolderToDelete is the directory you want to delete.

Thanks for reading.

1 thought on “How to delete files having too long path in Windows

  1. Hi, if you are looking to Copy, Delete long path Files, here is one solution for you, use “Long Path Tool” and it works great!

    -Vivian Roberta

Leave a Reply

Your email address will not be published. Required fields are marked *