Room of a pleinolijf

Ask yourself this: how do I want to be remembered ?

Deleting Files and Folders With Paths/Names That Are Too Long for Windows

1 Comment

As a follow-up on the previous post, I found a better alternative to do this if you already use node.js. There’s a util available on GitHub, called rimraf, that seems to exist purely to help you and me out with this irritating problem (on a Windows machine).

And it’s easy-peasy. Simply open your favourite node.js prompt (I like to set up everything in the excellent Cmder, btw), and install rimraf like so:

npm install -g rimraf

Then, to actually see the ‘magic’ happen, execute:

rimraf <directory_to_delete>

Could it be any easier ?

Author: pleinolijf

father | volleyballer | it generalist

One thought on “Deleting Files and Folders With Paths/Names That Are Too Long for Windows

  1. I read this post completely about the difference of latest and earlier technologies, it’snremarkable article. Come on http://tropaadet.dk/edythemills62093081830

    Like

Leave a comment