hlvb Posted December 31, 2014 Share Posted December 31, 2014 hello, i need the tool can delete file with mask. ex: *.tmp, ~$*.xls... my computer have many file and include many file too longpath. windows can not delete longpath file. thanks. Link to comment Share on other sites More sharing options...
bphlpt Posted December 31, 2014 Share Posted December 31, 2014 What are the exact circumstances that created these troublesome files that you cannot easily delete? If they are just temporary files that are in normal locations, then a program such as CCleaner might be able to do the job for you. If you need to delete them manually, you can usually move the troublesome files to a location closer to the root of the drive and delete it after the move. Or you can start with the folders closest to the root and rename them to a shorter name, ie a1, a2, a3, etc. Just do that until you end up with paths that are within the path limits. Cheers and Regards Link to comment Share on other sites More sharing options...
Ponch Posted December 31, 2014 Share Posted December 31, 2014 (edited) Or you can use the "subst" command to crete a temporary drive (letter) that includes the name of several levels of those subfolders.example;subst T: C:\data\any_long_name\any_other_long_name_that_makes_things_worse\ Here, T:\ will show those files within that directory with 63 less characters in the path name.Depending on the OS you are using, doing the cleaning could be quite straightforward.Then you'll tell us why you asked this in the "Hardware" forum. Edited December 31, 2014 by Ponch Link to comment Share on other sites More sharing options...
jaclaz Posted December 31, 2014 Share Posted December 31, 2014 Then you'll tell us why you asked this in the "Hardware" forum. Because he is using a loooooong cable to connect the PC to the hard disk? jaclaz Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now