PC Review


Closed Thread
Thread Tools Rate Thread

Can't delete folders where PATH is too long

 
 
New Member
Join Date: Sep 2009
Posts: 17
 
      16th Mar 2010
I have a faster and easier solution.

If you have Vista or Win7 you're all set to go, or you're on XP then you need to download the Windows Resource Kit Tools installer. Basically you just need to have robocopy.

Make an empty folder say C:\temp
Then use robocopy to copy it to the folder that you can't delete say C:\TooDeep

robocopy C:\temp C:\TooDeep /E /MIR

The /MIR option makes robocopy mirror temp onto TooDeep, or in other words deleting extra files and folders.

Have fun
 
 
 
 
 
New Member
Join Date: Sep 2010
Posts: 1
 
      9th Sep 2010
Go to this link http://www.osmstudios.com/Display.asp?Page=pathtoolong and after download If you have jdk installed then go to command prompt, cd to the location where the downloaded file(unzipped pathtoolong.zip file) exist and type java -jar nameofthejar(pathtoolong.jar).You can see the window where you delete the directory.
 
 
New Member
Join Date: Sep 2010
Posts: 1
 
      14th Sep 2010
I was trying to delete a folder which was reporting as bing file protected or in use. I was going through it deleting it chunk by chunk and found that I had a file structure that was too long. All I had to do is move the embedded folder to my desktop and I was able to delete it from there.
 
 
New Member
Join Date: Nov 2010
Posts: 1
 
      24th Nov 2010
Quote:
Originally Posted by dOSM
OSMstudios makes a handy little Java utility to take care of this problem.

http://www.osmstudios.com/Display.asp?Page=pathtoolong

This worked like a charm and it was free. Thank you!

FYI... What coused my problem in the first place, was using a command prompted and robocopy (robocopy /E /R:1 /B to copy windows user files to an external 1 tb HD. After letting it run over night the next morning the screen seemed to have pages of paths flying by. I stoped is and found it had used 250gb of space and only the directory AppData was showing up in the folder. I seems I had 250gb of paths; it took the Java program over an hour to delete the folder.
 
 
 
 
Closed Thread

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
http://LongPathTool.com - copy and delete path too long filesWindows tool to copy or delete files and folders with path too long orfilename too long error. Just browse to the file and press a button to copyor detele it, thats it! The applicati Martin Krag Windows XP MovieMaker 0 24th Apr 2011 12:27 PM
http://LongPathTool.com - find and delete/copy path too long filesfrom your hard drive or LAN Windows tool to copy or delete files and folderswith path too long or filename too long error. Just browse to the file andpress a button to copy or d Martin Krag Windows XP Networking 0 22nd Apr 2011 10:07 AM
http://LongPathTool.com - find and delete/copy path too long filesfrom your hard drive or LAN Windows tool to copy or delete files and folderswith path too long or filename too long error. Just browse to the file andpress a button to copy or d Martin Krag Windows XP Setup 0 22nd Apr 2011 10:06 AM
http://LongPathTool.com - find and delete/copy path too long filesfrom your hard drive or LAN Windows tool to copy or delete files and folderswith path too long or filename too long error. Just browse to the file andpress a button to copy or d Martin Krag Windows XP Configuration 0 22nd Apr 2011 10:05 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:24 AM.