Path destination too long [duplicate]











up vote
0
down vote

favorite













This question already has an answer here:




  • How to delete a file with a path too long to be deleted [duplicate]

    4 answers




I am in the process of trying to delete a folder from C:Users but when I try and delete it, it tells me the folder cannot be deleted because there is a file name that is too long to go in the recycle bin. The catch is, it doesnt appear like there is anything in the folder. So since I have no idea where the file in question is, I cannot try and shorten the name. The box that pops up says destination path too long and shows a long file name with a bunch of weird symbols mixed in. I have tried opening a command window in this directory and used the DIR /X command but it does not show anything. I am running Windows 10. This has become extremely frustrating! Someone please help!










share|improve this question















marked as duplicate by LPChip, harrymc windows
Users with the  windows badge can single-handedly close windows questions as duplicates and reopen them as needed.

StackExchange.ready(function() {
if (StackExchange.options.isMobile) return;

$('.dupe-hammer-message-hover:not(.hover-bound)').each(function() {
var $hover = $(this).addClass('hover-bound'),
$msg = $hover.siblings('.dupe-hammer-message');

$hover.hover(
function() {
$hover.showInfoMessage('', {
messageElement: $msg.clone().show(),
transient: false,
position: { my: 'bottom left', at: 'top center', offsetTop: -7 },
dismissable: false,
relativeToBody: true
});
},
function() {
StackExchange.helpers.removeMessages();
}
);
});
});
Dec 1 at 20:09


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.











  • 1




    You can bypass the recycle bin using <shift><delete>. How to Bypass Recycle Bin When Deleting Files on Windows 10
    – DavidPostill
    Nov 30 at 20:08










  • In File Explorer, click the View Tab->Options->View Tab->under "Hidden file and folders" , please ensure that "Show hidden files, folders, and drives" is chosen, press OK, and look in the folder again. Just so you can see the file. It's worth finding out if the file is important.
    – Christopher Hostage
    Nov 30 at 21:18















up vote
0
down vote

favorite













This question already has an answer here:




  • How to delete a file with a path too long to be deleted [duplicate]

    4 answers




I am in the process of trying to delete a folder from C:Users but when I try and delete it, it tells me the folder cannot be deleted because there is a file name that is too long to go in the recycle bin. The catch is, it doesnt appear like there is anything in the folder. So since I have no idea where the file in question is, I cannot try and shorten the name. The box that pops up says destination path too long and shows a long file name with a bunch of weird symbols mixed in. I have tried opening a command window in this directory and used the DIR /X command but it does not show anything. I am running Windows 10. This has become extremely frustrating! Someone please help!










share|improve this question















marked as duplicate by LPChip, harrymc windows
Users with the  windows badge can single-handedly close windows questions as duplicates and reopen them as needed.

StackExchange.ready(function() {
if (StackExchange.options.isMobile) return;

$('.dupe-hammer-message-hover:not(.hover-bound)').each(function() {
var $hover = $(this).addClass('hover-bound'),
$msg = $hover.siblings('.dupe-hammer-message');

$hover.hover(
function() {
$hover.showInfoMessage('', {
messageElement: $msg.clone().show(),
transient: false,
position: { my: 'bottom left', at: 'top center', offsetTop: -7 },
dismissable: false,
relativeToBody: true
});
},
function() {
StackExchange.helpers.removeMessages();
}
);
});
});
Dec 1 at 20:09


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.











  • 1




    You can bypass the recycle bin using <shift><delete>. How to Bypass Recycle Bin When Deleting Files on Windows 10
    – DavidPostill
    Nov 30 at 20:08










  • In File Explorer, click the View Tab->Options->View Tab->under "Hidden file and folders" , please ensure that "Show hidden files, folders, and drives" is chosen, press OK, and look in the folder again. Just so you can see the file. It's worth finding out if the file is important.
    – Christopher Hostage
    Nov 30 at 21:18













up vote
0
down vote

favorite









up vote
0
down vote

favorite












This question already has an answer here:




  • How to delete a file with a path too long to be deleted [duplicate]

    4 answers




I am in the process of trying to delete a folder from C:Users but when I try and delete it, it tells me the folder cannot be deleted because there is a file name that is too long to go in the recycle bin. The catch is, it doesnt appear like there is anything in the folder. So since I have no idea where the file in question is, I cannot try and shorten the name. The box that pops up says destination path too long and shows a long file name with a bunch of weird symbols mixed in. I have tried opening a command window in this directory and used the DIR /X command but it does not show anything. I am running Windows 10. This has become extremely frustrating! Someone please help!










share|improve this question
















This question already has an answer here:




  • How to delete a file with a path too long to be deleted [duplicate]

    4 answers




I am in the process of trying to delete a folder from C:Users but when I try and delete it, it tells me the folder cannot be deleted because there is a file name that is too long to go in the recycle bin. The catch is, it doesnt appear like there is anything in the folder. So since I have no idea where the file in question is, I cannot try and shorten the name. The box that pops up says destination path too long and shows a long file name with a bunch of weird symbols mixed in. I have tried opening a command window in this directory and used the DIR /X command but it does not show anything. I am running Windows 10. This has become extremely frustrating! Someone please help!





This question already has an answer here:




  • How to delete a file with a path too long to be deleted [duplicate]

    4 answers








windows windows-10






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 30 at 21:16









Christopher Hostage

3,191928




3,191928










asked Nov 30 at 19:57









sparticusmaximus7

1




1




marked as duplicate by LPChip, harrymc windows
Users with the  windows badge can single-handedly close windows questions as duplicates and reopen them as needed.

StackExchange.ready(function() {
if (StackExchange.options.isMobile) return;

$('.dupe-hammer-message-hover:not(.hover-bound)').each(function() {
var $hover = $(this).addClass('hover-bound'),
$msg = $hover.siblings('.dupe-hammer-message');

$hover.hover(
function() {
$hover.showInfoMessage('', {
messageElement: $msg.clone().show(),
transient: false,
position: { my: 'bottom left', at: 'top center', offsetTop: -7 },
dismissable: false,
relativeToBody: true
});
},
function() {
StackExchange.helpers.removeMessages();
}
);
});
});
Dec 1 at 20:09


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.






marked as duplicate by LPChip, harrymc windows
Users with the  windows badge can single-handedly close windows questions as duplicates and reopen them as needed.

StackExchange.ready(function() {
if (StackExchange.options.isMobile) return;

$('.dupe-hammer-message-hover:not(.hover-bound)').each(function() {
var $hover = $(this).addClass('hover-bound'),
$msg = $hover.siblings('.dupe-hammer-message');

$hover.hover(
function() {
$hover.showInfoMessage('', {
messageElement: $msg.clone().show(),
transient: false,
position: { my: 'bottom left', at: 'top center', offsetTop: -7 },
dismissable: false,
relativeToBody: true
});
},
function() {
StackExchange.helpers.removeMessages();
}
);
});
});
Dec 1 at 20:09


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.










  • 1




    You can bypass the recycle bin using <shift><delete>. How to Bypass Recycle Bin When Deleting Files on Windows 10
    – DavidPostill
    Nov 30 at 20:08










  • In File Explorer, click the View Tab->Options->View Tab->under "Hidden file and folders" , please ensure that "Show hidden files, folders, and drives" is chosen, press OK, and look in the folder again. Just so you can see the file. It's worth finding out if the file is important.
    – Christopher Hostage
    Nov 30 at 21:18














  • 1




    You can bypass the recycle bin using <shift><delete>. How to Bypass Recycle Bin When Deleting Files on Windows 10
    – DavidPostill
    Nov 30 at 20:08










  • In File Explorer, click the View Tab->Options->View Tab->under "Hidden file and folders" , please ensure that "Show hidden files, folders, and drives" is chosen, press OK, and look in the folder again. Just so you can see the file. It's worth finding out if the file is important.
    – Christopher Hostage
    Nov 30 at 21:18








1




1




You can bypass the recycle bin using <shift><delete>. How to Bypass Recycle Bin When Deleting Files on Windows 10
– DavidPostill
Nov 30 at 20:08




You can bypass the recycle bin using <shift><delete>. How to Bypass Recycle Bin When Deleting Files on Windows 10
– DavidPostill
Nov 30 at 20:08












In File Explorer, click the View Tab->Options->View Tab->under "Hidden file and folders" , please ensure that "Show hidden files, folders, and drives" is chosen, press OK, and look in the folder again. Just so you can see the file. It's worth finding out if the file is important.
– Christopher Hostage
Nov 30 at 21:18




In File Explorer, click the View Tab->Options->View Tab->under "Hidden file and folders" , please ensure that "Show hidden files, folders, and drives" is chosen, press OK, and look in the folder again. Just so you can see the file. It's worth finding out if the file is important.
– Christopher Hostage
Nov 30 at 21:18










2 Answers
2






active

oldest

votes

















up vote
0
down vote













One trick is to use robocopy



Create an empty directory like c:empty, then use robocopy /mir /purge c:empty c:usersfolder_to_be_removed. Robocopy can handle the really long file paths, and the /mir + /purge options will remove all the extra files from the 'destination' folder.






share|improve this answer




























    up vote
    0
    down vote













    Another method in cmd is to mount a drive to a path using subst.



    subst B: C:deepfolder
    B:
    del B:deep


    From a related question :
    How do you mount a directory as a drive in Windows 7?






    share|improve this answer




























      2 Answers
      2






      active

      oldest

      votes








      2 Answers
      2






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes








      up vote
      0
      down vote













      One trick is to use robocopy



      Create an empty directory like c:empty, then use robocopy /mir /purge c:empty c:usersfolder_to_be_removed. Robocopy can handle the really long file paths, and the /mir + /purge options will remove all the extra files from the 'destination' folder.






      share|improve this answer

























        up vote
        0
        down vote













        One trick is to use robocopy



        Create an empty directory like c:empty, then use robocopy /mir /purge c:empty c:usersfolder_to_be_removed. Robocopy can handle the really long file paths, and the /mir + /purge options will remove all the extra files from the 'destination' folder.






        share|improve this answer























          up vote
          0
          down vote










          up vote
          0
          down vote









          One trick is to use robocopy



          Create an empty directory like c:empty, then use robocopy /mir /purge c:empty c:usersfolder_to_be_removed. Robocopy can handle the really long file paths, and the /mir + /purge options will remove all the extra files from the 'destination' folder.






          share|improve this answer












          One trick is to use robocopy



          Create an empty directory like c:empty, then use robocopy /mir /purge c:empty c:usersfolder_to_be_removed. Robocopy can handle the really long file paths, and the /mir + /purge options will remove all the extra files from the 'destination' folder.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Nov 30 at 20:03









          Zoredache

          17.1k74267




          17.1k74267
























              up vote
              0
              down vote













              Another method in cmd is to mount a drive to a path using subst.



              subst B: C:deepfolder
              B:
              del B:deep


              From a related question :
              How do you mount a directory as a drive in Windows 7?






              share|improve this answer

























                up vote
                0
                down vote













                Another method in cmd is to mount a drive to a path using subst.



                subst B: C:deepfolder
                B:
                del B:deep


                From a related question :
                How do you mount a directory as a drive in Windows 7?






                share|improve this answer























                  up vote
                  0
                  down vote










                  up vote
                  0
                  down vote









                  Another method in cmd is to mount a drive to a path using subst.



                  subst B: C:deepfolder
                  B:
                  del B:deep


                  From a related question :
                  How do you mount a directory as a drive in Windows 7?






                  share|improve this answer












                  Another method in cmd is to mount a drive to a path using subst.



                  subst B: C:deepfolder
                  B:
                  del B:deep


                  From a related question :
                  How do you mount a directory as a drive in Windows 7?







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Nov 30 at 21:14









                  Christopher Hostage

                  3,191928




                  3,191928















                      Popular posts from this blog

                      flock() on closed filehandle LOCK_FILE at /usr/bin/apt-mirror

                      Mangá

                       ⁒  ․,‪⁊‑⁙ ⁖, ⁇‒※‌, †,⁖‗‌⁝    ‾‸⁘,‖⁔⁣,⁂‾
”‑,‥–,‬ ,⁀‹⁋‴⁑ ‒ ,‴⁋”‼ ⁨,‷⁔„ ‰′,‐‚ ‥‡‎“‷⁃⁨⁅⁣,⁔
⁇‘⁔⁡⁏⁌⁡‿‶‏⁨ ⁣⁕⁖⁨⁩⁥‽⁀  ‴‬⁜‟ ⁃‣‧⁕‮ …‍⁨‴ ⁩,⁚⁖‫ ,‵ ⁀,‮⁝‣‣ ⁑  ⁂– ․, ‾‽ ‏⁁“⁗‸ ‾… ‹‡⁌⁎‸‘ ‡⁏⁌‪ ‵⁛ ‎⁨ ―⁦⁤⁄⁕