Th3 Core
Welcome, Guest. Please login or register.
Did you miss your activation email?
November 21, 2017, 06:17:22 AM

Login with username, password and session length
51070 Posts in 6278 Topics by 186 Members
Latest Member: DavidBrown
Search:     Advanced search
* Home active threads unread threads Help Search Login Register
+  Th3 Core
|-+  Why We Are Here
| |-+  Web Development
| | |-+  Tip for deleting files with long paths on Windows
« previous next »
Pages: [1] Print
Author Topic: Tip for deleting files with long paths on Windows  (Read 633 times)
Inner Core
Hero Member
Posts: 3389

View Profile
« on: May 24, 2017, 02:33:49 PM »

Insane, but I can create a file I can't delete on Windows. This is a big problem if you do anything with nodejs modules or others. Ran into this yesterday and came across this tip

Use Window's built-in robocopy to the copy an empty directory over the problem one.

>robocopy C:\something\empty C:\something\long /MIR

Also, one of the comments says you can do this via 7-zip and it works too
Inner Core
Sr. Member
Posts: 485

View Profile Email
« Reply #1 on: May 24, 2017, 05:23:58 PM »

 Roll Eyes I had forgotten about that, welcome to windows 10 just as annoying as the schedule function. I can't remember how I did it but I somehow searched for file paths over x amount of characters and then changed them. It came up with a list, it may have been a cmd call.
Pages: [1] Print 
« previous next »
Go to the Active page, the Unread page, or jump to:  

  Powered by SMF 1.1.20 | SMF © 2013, Simple Machines
Mercury design by Bloc