Calgary Computer Services | IT Consulatant | Dental Clinics | Dentists | Insurance Brokers
  • Home
  • Industries
    • Dental Clinics
    • Insurance Brokers
    • Hotels
  • Services
  • Download

How to delete long file name

1/8/2020

1 Comment

 
Using Robocopy to delete files that have a path and filename that is too long:
  1. Notate the folder directory path that needs its contents to be deleted.
    • Example: C:\FolderToBeCleaned
  2. From Windows File Explorer, create an empty folder anywhere on the hard drive:
    • Example: C:\EmptyFolder
  3. Open a Windows Command Prompt as an Administrator.
  4. Type the following command, replacing the example paths with yours:
    • Robocopy C:\EmptyFolder C:\FolderToBeCleaned /purge and ENTER
  5. Now you may delete the FolderToBeCleaned folder
1 Comment
Jeffrey F link
9/10/2024 09:33:02 am

Hi great reading yourr post

Reply



Leave a Reply.

    Archives

    January 2024
    September 2023
    October 2022
    January 2022
    August 2020
    June 2017
    December 2016
    November 2016
    November 2015
    September 2015
    October 2014
    February 2014

    Categories

    All
    Antivirus
    Malwarebytes
    Networking

    RSS Feed

6 Varsity Estates Close NW
Calgary, AB
​T3B 5J2
Tel: (403) 462-9277
Copyright© 2004-2021 SysReady Ltd
  • Home
  • Industries
    • Dental Clinics
    • Insurance Brokers
    • Hotels
  • Services
  • Download