The path is too long- when trying to delete on windows 8.1

Hello experts,

when I tried to delete my created yeoman app, the windows said that the path is too long...I solved it by subst :j inside of that folder, so I map a drive of this folder and then it was deleated without problem.

But I'm wondering how do you do it? Node_modules folder has tens of thousands files, it's little bit crazy but I couldn't imagine doing frontend without yeoman now.
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

JohnBusiness Consultant (Owner)Commented:
First, I go out of my way not to let this happen - and it doesn't on my machines.

Second, try using cmd.exe and putting filename in quotes. That usually works for me.
Davis McCarnOwnerCommented:
The old, standard, method is to create a network share far enough down the tree to get past the 255 character limit, access that by the share name, then backup and/or delete the tree.  Afterwards, unshare the folder.
Lionel MMSmall Business IT ConsultantCommented:
make an empty directory--then robocopy it to the directory you wish to delete, empty out first, then delete--run all these from a command prompt or in a batch
md c:\empty_dir
robocopy c:\empty_dir c:\the_dir_to_delete /s /mir
rd c:\empty_dir
rd c:\the_dir_to_delete
10 Tips to Protect Your Business from Ransomware

Did you know that ransomware is the most widespread, destructive malware in the world today? It accounts for 39% of all security breaches, with ransomware gangsters projected to make $11.5B in profits from online extortion by 2019.

I use which would solve all path problems. It used to be free but is a limited trial now and costs 20 USD. Good software.
Fajer39Author Commented:
Thank You guys but I think I found a better solution- look here

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Fajer39Author Commented:
reason is that i googled a lot
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.