Re: Re: Too long filenames to delete..

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



On Fri, 19 Aug 2005 18:27:51 +0200, "Rod Janson" <rodney@xxxxxxxxxx> wrote:

>"Jerold Schulman" <Jerry@xxxxxxxxxx> skrev i melding
>news:ajobg11ujrg14ih83efm9aotpij6rv7j1f@xxxxxxxxxx
>
>> See tip 9651 » How can I delete a folder that returns PATH TOO LONG?
>> in the 'Tips & Tricks' at http://www.jsifaq.com
>
>Thanks but it is the filename itself which is too long, not the folders or
>the path...
>
>Any clues on how to delete files with too long filenames? Rename using
>explorer does not work either :-(
>
>Rod
>
Try copying the good files and sub-folders to a temporary location. Then run DelFolder
Then create the folder and move the temo stuff back.

Have you tried using the CMD.EXE windows and the short file name.

Let's assume the file name is in the C:xyz folder and the long file name is
LongFileName012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789.txt

1. Open a CMD.EXE window
2. pushd c:\xyz
3. dir /x l*.txt
4. del /q LONGFI~1.TXT
5. popd
.



Relevant Pages

  • Re: filename changes during save
    ... 2004 Windows MVP "Winny" Award ... Is this hovering everywhere or just in IE's save as dialog? ... Whenever I am saving a file and have to navigate to the folder I want ... >>> enough, and the mouse pointer touches any other filename, the filename ...
    (microsoft.public.windowsxp.general)
  • Re: Warning Message to Prevent Overwritting
    ... if the description on the cell "D13" is WO9999. ... 2.- Create a filename WO9999.xls and located under the directory WO9999 ... The mkdir command either creates the folder or fails to create the folder. ...
    (microsoft.public.excel.programming)
  • Re: "Device not ready" (CDBurn)
    ... Windows is that, with RISC OS, it doesn't 'fold' the filename across ... folder view gets silly and expands to accomodate the longest filename. ... Ray Dawson ...
    (comp.sys.acorn.apps)
  • Re: filename changes during save
    ... 2004 Windows MVP "Winny" Award ... Whenever I am saving a file and have to navigate to the folder I want ... >>> fast enough, and the mouse pointer touches any other filename, the ... hovering is the correct term. ...
    (microsoft.public.windowsxp.general)
  • Re: Can view but cannot delete or rename the folder
    ... also known as the 8.3 filename) in a column before ... You may then be able to delete the folder by using the SFN, ... Microsoft Windows MVP ...
    (microsoft.public.windows.file_system)