#############如何在windows下删除文件名过长的文件##########
from the website http://superuser.com/questions/78434/how-to-delete-directories-with-path-names-too-long-for-normal-delete#answer-776859
None of the other (free) answers here worked for me, but I found one on another site:
rimraf <dir>
rimraf is a Node.js package, so you will need to install Node.js which includes npm. Then you can run:
npm install -g rimraf
Then you can run rimraf from the command line.
I found this solution because npm itself was causing this problem due to the way it nests dependencies. By the way, rimraf gets its name from the UNIX command rm -rf, which recursively deletes files and folders.