Cannot delete file name too long

Status
Not open for further replies.

kenrob2037

New Member
Messages
30
Hi All,

All the best for 2015 to everyone.

Got a Word file from my back up that has an overly long name. It's of no use to me and I want to delete it, bit is says "Cannot delete file name too long"

It won't let me open, rename, move or delete it. I've tried to delete it through a command prompt but that does not work, even in safe mode.

How can I get rid of this little bugger?

Cheers

Rob
 

My Computer

System One

  • OS
    Windows 8.1
    Computer type
    PC/Desktop
    System Manufacturer/Model
    ASUS CiO
    CPU
    i7
    Motherboard
    Asus
    Memory
    16 GB
Hello Rob,

If you haven't already, you might see if the free program Unlocker may be able to delete the file for you. :)
 

My Computer

System One

  • OS
    64-bit Windows 10
    Computer type
    PC/Desktop
    System Manufacturer/Model
    Custom self built
    CPU
    Intel i7-8700K OC'd to 5 GHz
    Motherboard
    ASUS ROG Maximus XI Formula Z390
    Memory
    64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz (F4-3600C18D-32GTZR)
    Graphics Card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
    Sound Card
    Integrated Digital Audio (S/PDIF)
    Monitor(s) Displays
    2 x Samsung Odyssey G7 27"
    Screen Resolution
    2560x1440
    Hard Drives
    1TB Samsung 990 PRO M.2,
    4TB Samsung 990 PRO PRO M.2,
    8TB WD MyCloudEX2Ultra NAS
    PSU
    OCZ Series Gold OCZZ1000M 1000W
    Case
    Thermaltake Core P3
    Cooling
    Corsair Hydro H115i
    Keyboard
    Logitech wireless K800
    Mouse
    Logitech MX Master 3
    Internet Speed
    1 Gb/s Download and 35 Mb/s Upload
    Browser
    Internet Explorer 11
    Antivirus
    Malwarebyte Anti-Malware Premium
    Other Info
    Logitech Z625 speaker system,
    Logitech BRIO 4K Pro webcam,
    HP Color LaserJet Pro MFP M477fdn,
    APC SMART-UPS RT 1000 XL - SURT1000XLI,
    Galaxy S23 Plus phone
I did look at Unlocker, but I didn't want to pay to get rid of one Word file. Any other suggestions?

Cheers

Rob
 

My Computer

System One

  • OS
    Windows 8.1
    Computer type
    PC/Desktop
    System Manufacturer/Model
    ASUS CiO
    CPU
    i7
    Motherboard
    Asus
    Memory
    16 GB
The link that Brink gave you is Free, if you do not want to donate, don't.
 

My Computer

System One

  • OS
    windows 8.1 Update 1 Pro 64bit
    System Manufacturer/Model
    Pavillion H8-1202
    CPU
    I7-2600 @ 3.4 GHz
    Motherboard
    PEGATRON
    Memory
    8 GB
    Graphics Card(s)
    NIVDIA GeForce GT 520
    Sound Card
    Realtek ALC656GR CODEC
    Monitor(s) Displays
    Samsung SyncMaster S22B350
    Screen Resolution
    1920X1080 32 bit color
    Hard Drives
    Samsung 850 EVO SSD 500GB
    Keyboard
    Razer Blackwidow Ultimate 2013
    Mouse
    Logitech M510
Ok, Thanks for that, I'll take a look Nuccii.

Cheers

Rob
 

My Computer

System One

  • OS
    Windows 8.1
    Computer type
    PC/Desktop
    System Manufacturer/Model
    ASUS CiO
    CPU
    i7
    Motherboard
    Asus
    Memory
    16 GB
In the past, renaming the multi-character directory names to a single character name let some files be deleted.

For example, \long\directory\file is renamed to \l\d\f.
 

My Computer

System One

  • OS
    Microsoft Windows 8.1 64 Bit
    Computer type
    Laptop
    System Manufacturer/Model
    Toshiba C55Dt-A5106
    CPU
    Processor AMD A6-5200 APU with Radeon(TM) HD Graphics, 2 Ghz, 4 Core(s), 4 Logical Processor(s)
    Motherboard
    Toshiba PSCFWU-02C031
    Memory
    4GB
    Graphics Card(s)
    AMD Radeon HD 8400
    Sound Card
    Realtek High Definition Audio
    Monitor(s) Displays
    Laptop and DELL E193FP
    Screen Resolution
    1366x768 1280x1024
    Hard Drives
    Toshiba MQ01ABD075
    DVD Writer TSSTcorp CDDVDW SU-208FB
    Keyboard
    Logitech Wave 2.4 Cordless or Laptop Standard PS/2 Keyboard Enhanced
    Mouse
    Logitech M1100 Performance Laser Cordless Combo or Logitech G500
    Internet Speed
    Upload/Download 91/11Mbps
    Browser
    IE 11
    Antivirus
    Norton
    Other Info
    Toshiba System Settings V1.1.2.32001
    BIOS Version Inside Corp., 1.60, 11/15/2013
    EC (Embedded Controller) Version 1.20
    Hardware Abstraction Layer 6.3.9600.16500
Hi JHough,
It won't let me rename it either, even tried in safe mode.

Cheers

Rob
 

My Computer

System One

  • OS
    Windows 8.1
    Computer type
    PC/Desktop
    System Manufacturer/Model
    ASUS CiO
    CPU
    i7
    Motherboard
    Asus
    Memory
    16 GB
You could try changing the name of the folder in which the file is present and see if that makes it accessible. Or try using 7-zip, which is able to read too long file names, and allow to rename them, then delete it.
 

My Computer

System One

  • OS
    Windows 8.1 Update Pro in Hyper-V/Windows 10 Pro 64 bit
    Computer type
    PC/Desktop
    System Manufacturer/Model
    Cliff's Black & Blue Wonder
    CPU
    Intel Core i9-9900K
    Motherboard
    ASUS ROG Maximus X Hero
    Memory
    32 GB Quad Kit, G.Skill Trident Z RGB Series schwarz, DDR4-3866, 18-19-19-39-2T
    Graphics Card(s)
    ASUS GeForce RTX 3090 ROG Strix O24G, 24576 MB GDDR6X
    Sound Card
    (1) HD Webcam C270 (2) NVIDIA High Definition Audio (3) Realtek High Definition Audio
    Monitor(s) Displays
    BenQ BL2711U(4K) and a hp 27vx(1080p)
    Screen Resolution
    1920 x 1080 x 32 bits (4294967296 colors) @ 60 Hz
    Hard Drives
    C: Samsung 960 EVO NVMe M.2 SSD
    E: & O: Libraries & OneDrive-> Samsung 850 EVO 1TB
    D: Hyper-V VM's -> Samsung PM951 Client M.2 512Gb SSD
    G: System Images -> HDD Seagate Barracuda 2TB
    PSU
    Corsair HX1000i High Performance ATX Power Supply 80+ Platinum
    Case
    hanteks Enthoo Pro TG
    Cooling
    Thermaltake Floe Riing RGB TT Premium-Edition 360mm and 3 Corsair blue LED fans
    Keyboard
    Trust GTX THURA
    Mouse
    Trust GTX 148
    Internet Speed
    25+/5+ (+usually faster)
    Browser
    Edge; Chrome; IE11
    Antivirus
    Windows Defender of course & Malwarebytes Anti-Exploit as a
    Other Info
    Router: FRITZ!Box 7590 AX V2
    Sound system: SHARP HT-SBW460 Dolby Atmos Soundbar
    Webcam: Logitech BRIO ULTRA HD PRO WEBCAM 4K webcam with HDR

My Computer

System One

  • OS
    64-bit Windows 10
    Computer type
    PC/Desktop
    System Manufacturer/Model
    Custom self built
    CPU
    Intel i7-8700K OC'd to 5 GHz
    Motherboard
    ASUS ROG Maximus XI Formula Z390
    Memory
    64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz (F4-3600C18D-32GTZR)
    Graphics Card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
    Sound Card
    Integrated Digital Audio (S/PDIF)
    Monitor(s) Displays
    2 x Samsung Odyssey G7 27"
    Screen Resolution
    2560x1440
    Hard Drives
    1TB Samsung 990 PRO M.2,
    4TB Samsung 990 PRO PRO M.2,
    8TB WD MyCloudEX2Ultra NAS
    PSU
    OCZ Series Gold OCZZ1000M 1000W
    Case
    Thermaltake Core P3
    Cooling
    Corsair Hydro H115i
    Keyboard
    Logitech wireless K800
    Mouse
    Logitech MX Master 3
    Internet Speed
    1 Gb/s Download and 35 Mb/s Upload
    Browser
    Internet Explorer 11
    Antivirus
    Malwarebyte Anti-Malware Premium
    Other Info
    Logitech Z625 speaker system,
    Logitech BRIO 4K Pro webcam,
    HP Color LaserJet Pro MFP M477fdn,
    APC SMART-UPS RT 1000 XL - SURT1000XLI,
    Galaxy S23 Plus phone
Hey Cliff,

Can't rename the folder of the file. But I will try 7Zip and see if that works. I went to try Unlocker, but there was no option but to pay for it, so I didn't bother, not for one file.

Cheers

Rob
 

My Computer

System One

  • OS
    Windows 8.1
    Computer type
    PC/Desktop
    System Manufacturer/Model
    ASUS CiO
    CPU
    i7
    Motherboard
    Asus
    Memory
    16 GB
Rob,

Unlocker is a 100% free and safe program. You just didn't click on the correct link to download it. Click on the link in the screenshot below at the Unlocker link below. You'll need to scroll down towards the bottom of the page to see it. ;)

UNLOCKER 1.9.2 BY CEDRICK 'NITCH' COLLOMB


unlocker.jpg
 

My Computer

System One

  • OS
    64-bit Windows 10
    Computer type
    PC/Desktop
    System Manufacturer/Model
    Custom self built
    CPU
    Intel i7-8700K OC'd to 5 GHz
    Motherboard
    ASUS ROG Maximus XI Formula Z390
    Memory
    64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz (F4-3600C18D-32GTZR)
    Graphics Card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
    Sound Card
    Integrated Digital Audio (S/PDIF)
    Monitor(s) Displays
    2 x Samsung Odyssey G7 27"
    Screen Resolution
    2560x1440
    Hard Drives
    1TB Samsung 990 PRO M.2,
    4TB Samsung 990 PRO PRO M.2,
    8TB WD MyCloudEX2Ultra NAS
    PSU
    OCZ Series Gold OCZZ1000M 1000W
    Case
    Thermaltake Core P3
    Cooling
    Corsair Hydro H115i
    Keyboard
    Logitech wireless K800
    Mouse
    Logitech MX Master 3
    Internet Speed
    1 Gb/s Download and 35 Mb/s Upload
    Browser
    Internet Explorer 11
    Antivirus
    Malwarebyte Anti-Malware Premium
    Other Info
    Logitech Z625 speaker system,
    Logitech BRIO 4K Pro webcam,
    HP Color LaserJet Pro MFP M477fdn,
    APC SMART-UPS RT 1000 XL - SURT1000XLI,
    Galaxy S23 Plus phone
This is interesting! If you're trying to delete a file by clicking its icon, why should the OS need to use its NAME to delete it?

This is one more confirmation of what I've always suspected. At the deepest level, Windows is still MS-DOS. All the things on your screen, the windows and icons and menus--and the whole Metro interface too--are just translating all your mouse-clicks into MS-DOS commands, which are then being executed invisibly by the Command Prompt program or something similar to it. In this case, the length of your filename is causing the maximum MS-DOS command-line length to be exceeded.

Or it could be that they're being translated into the kind of MS-DOS "Function Calls" used in Assembler Language programming. There would still be a filename field and a maximum length involved.
 

My Computer

System One

  • OS
    64-bit Windows 8
    System Manufacturer/Model
    HP 23-D030
If all other avenues faill, try this

Create a botable Mint Mate (Linux) thumb drive:

Linux flash drive.
1. Download the Rufus bootable USB drive creation utility
Rufus home page
Rufus FAQ
2. Download the Linux Mint Mate ISO
Select a download mirror from the pages below that is nearest your location to lessen download time
Linux Mint Mate 32 bit (32 or 64 bit machines)
Linux Mint Mate 64 bit (only 64 bit machines)
Linux Mint Mate documentation [PDF]
3. Create a bootable USB thumb drive using Rufus and the Linux Mint Mate ISO
Mint Mate is 1.3 GB, so you need a thumb drive with at least 2 GB.
:warn: Creating a bootable thumb drive erases all data on the thumb drive.
:warn: If you have data on the thumb drive that you need, move it to your Hard Drive or burn it to an Optical Disc.
  • Connect the USB thumb drive to a USB port
  • Launch Rufus

    Rufus.png
  • The fields in Rufus are filled in with defaults. The defaults work well, but a few things need to be verified or changed.
    1. Verify that Rufus selected the thumb drive you want to write. Change the Device if the wrong USB thumb drive is presented in that field.
    2. Change Create a bootable disk using from the default to ISO image
    3. Select Linux Mint Mate ISO as the source. The file should appear on the status bar
    4. unTick Create extended label and icon files
    5. Compare your Rufus window with the image above. If everything other than the Device field are the same, then continue to the next step. Note that the ISO name in the status bar is subject to change as new versions are released
    6. Press the Start button
  • The status bar notifies you when the process is Done
  • Press the Close button

Leave the Linux Mint Mate thumb drive connected for the next steps​
4. Boot to Linux Mint Mate
Save any files you are working on, then Restart your machine
Check your machine documentation to determine the key that brings up the Boot Order startup menu. This example is from an HP laptop that assigns it to the F9 key.
When the machine begins to start again (black screen) tap the F9 key to bring up the Boot Order startup menu. There is only a short time to "catch" the Boot Order menu. If Windows starts, you will have to try again.​

5. If a menu is displayed, either wait for the timeout or hit enter to accept the default.
Mint Mate is mostly driver aware, meaning your devices should work - network, monitor, mouse and keyboard (wireless or wired) - just about everything.

Locate the drive with the file (the drives are named differently, but you can usually easily identify them) and drill down to the file location just as you would in Explorer. Then delete the file.

You can, or should be able to, connect to the internet and launch the browser while booted to Mint Mate.
Post any questions you might have if you try this and get stuck.

There are two screen captures in the menu as well.
 

My Computer

System One

  • OS
    Win8.1 Pro | Win10TP Pro - boot to VHD
    Computer type
    Laptop
    System Manufacturer/Model
    HP Pavilion dv6-c610us
    CPU
    AMD VISION A6-3420M Quad-Core (2.4GHz/1.5GHz)
    Motherboard
    HP
    Memory
    6GB DDR3 SDRAM (2 DIMM)
    Graphics Card(s)
    AMD Radeon HD 6520G Discrete-Class Graphics
    Monitor(s) Displays
    HP 2072a (20" LED)
    Screen Resolution
    1600 x 900
    Hard Drives
    Hitachi 640GB (5400 RPM)
    Seagate 2 TB external
    WD 500 GB external
    Keyboard
    Logitech K520 (wireless bundle)
    Mouse
    Logitech M310 (wireless bundle)
    Browser
    IE 11 (default) & Pale Moon
    Other Info
    HP product specs:

    http://support.hp.com/us-en/product/HP-Pavilion-dv6-6c00-Entertainment-Notebook-PC-series/5191856/model/5218495/document/c03138553/
your joking right? Gentlemen, you dont need a program - you dont need major boot cd/usb.. you dont need anything.. solution is built-in to windows: share the folder map the folder to network drive.. delete/ rename.. unmap network folder unshare folder.. finished
 

My Computer

System One

  • OS
    Windows 8.1 (HOME not Pro) 64bit
    Computer type
    Laptop
    System Manufacturer/Model
    (So not very nice) Lenovo Y410P
    CPU
    i7 quad 2.4Gig
    Memory
    16G ram
    Graphics Card(s)
    nvidia 2gig 755m
    Hard Drives
    Samsung 840 Evo

    supercache2 m2. mini card.
    Antivirus
    Win Defender

My Computer

System One

  • OS
    Windows 8.1.1 Pro with Media Center
    Computer type
    PC/Desktop
    System Manufacturer/Model
    Gateway
    CPU
    AMD K140 Cores 2 Threads 2 Name AMD K140 Package Socket FT1 BGA Technology 40nm
    Motherboard
    Manufacturer Gateway Model SX2110G (P0)
    Memory
    Type DDR3 Size 8192 MBytes DRAM Frequency 532.3 MHz
    Graphics Card(s)
    ATI AMD Radeon HD 7310 Graphics
    Sound Card
    AMD High Definition Audio Device Realtek High Definition Audio USB Audio Device
    Monitor(s) Displays
    Name 1950W on AMD Radeon HD 7310 Graphics Current Resolution 1366x768 pixels Work Resolution 1366x76
    Screen Resolution
    Current Resolution 1366x768 pixels Work Resolution 1366x768 pixels
    Hard Drives
    AMD K140
    Cores 2
    Threads 2
    Name AMD K140
    Package Socket FT1 BGA
    Technology 40nm
    Specification AMD E1-1200 APU with Radeon HD Graphics
    Family F
    Extended Family 14
    Model 2
    Extended Model 2
    Stepping 0
    Revision ON-C0
    Instruction
    Browser
    Opera 24.0
    Antivirus
    Avast Internet Security
It's not difficult.. it's already inside windows.. don't need unlocker or boot cd's/usb's or "Uninstallers."

1stpic.JPG

2ndpic.JPG

5th.JPG
 

My Computer

System One

  • OS
    windows 8.1 core x64x
    Computer type
    Laptop
    System Manufacturer/Model
    lenovo y410p Such Crappy Company
    CPU
    i7 quad 4700mq
    Memory
    16gig
    Graphics Card(s)
    Nvida 755m 2gig
    Hard Drives
    Samsung 840 Evo 250gig
    Antivirus
    Defender
    Other Info
    Don't buy Lenovo, HP, DeLL, Acer, or anything. ONLY buy ASUS. see for yourself on their forums..
Still no luck. Tried 7Zip, but still would not let me delete. I tried mapping the folder to my network drive, and when I went to delete, it still said "the file name is to long for the destination folder".

I cannot rename the folder or file, there's simply no option there. I cannot open the file, it says file name to long. I cannot delete the file or folder, it says file name is to long.

What a stubborn little bugger this one is. Any further thoughts?

Cheers

rob
 

My Computer

System One

  • OS
    Windows 8.1
    Computer type
    PC/Desktop
    System Manufacturer/Model
    ASUS CiO
    CPU
    i7
    Motherboard
    Asus
    Memory
    16 GB
Were you ever able to try Unlocker?
 

My Computer

System One

  • OS
    64-bit Windows 10
    Computer type
    PC/Desktop
    System Manufacturer/Model
    Custom self built
    CPU
    Intel i7-8700K OC'd to 5 GHz
    Motherboard
    ASUS ROG Maximus XI Formula Z390
    Memory
    64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz (F4-3600C18D-32GTZR)
    Graphics Card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
    Sound Card
    Integrated Digital Audio (S/PDIF)
    Monitor(s) Displays
    2 x Samsung Odyssey G7 27"
    Screen Resolution
    2560x1440
    Hard Drives
    1TB Samsung 990 PRO M.2,
    4TB Samsung 990 PRO PRO M.2,
    8TB WD MyCloudEX2Ultra NAS
    PSU
    OCZ Series Gold OCZZ1000M 1000W
    Case
    Thermaltake Core P3
    Cooling
    Corsair Hydro H115i
    Keyboard
    Logitech wireless K800
    Mouse
    Logitech MX Master 3
    Internet Speed
    1 Gb/s Download and 35 Mb/s Upload
    Browser
    Internet Explorer 11
    Antivirus
    Malwarebyte Anti-Malware Premium
    Other Info
    Logitech Z625 speaker system,
    Logitech BRIO 4K Pro webcam,
    HP Color LaserJet Pro MFP M477fdn,
    APC SMART-UPS RT 1000 XL - SURT1000XLI,
    Galaxy S23 Plus phone
No. Every time I go there, even the link you sent me, it asks me to pay for it. I must be thick. Sorry.
 

My Computer

System One

  • OS
    Windows 8.1
    Computer type
    PC/Desktop
    System Manufacturer/Model
    ASUS CiO
    CPU
    i7
    Motherboard
    Asus
    Memory
    16 GB
That would just be the optional donate page that opens in a new tab. You should of had the download at the bottom of IE as usual.

Anyways, I downloaded Unlocker for you and uploaded it in the ZIP file below if you would like to try it.
 

Attachments

  • Unlocker1.9.2.zip
    363.5 KB · Views: 61

My Computer

System One

  • OS
    64-bit Windows 10
    Computer type
    PC/Desktop
    System Manufacturer/Model
    Custom self built
    CPU
    Intel i7-8700K OC'd to 5 GHz
    Motherboard
    ASUS ROG Maximus XI Formula Z390
    Memory
    64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz (F4-3600C18D-32GTZR)
    Graphics Card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
    Sound Card
    Integrated Digital Audio (S/PDIF)
    Monitor(s) Displays
    2 x Samsung Odyssey G7 27"
    Screen Resolution
    2560x1440
    Hard Drives
    1TB Samsung 990 PRO M.2,
    4TB Samsung 990 PRO PRO M.2,
    8TB WD MyCloudEX2Ultra NAS
    PSU
    OCZ Series Gold OCZZ1000M 1000W
    Case
    Thermaltake Core P3
    Cooling
    Corsair Hydro H115i
    Keyboard
    Logitech wireless K800
    Mouse
    Logitech MX Master 3
    Internet Speed
    1 Gb/s Download and 35 Mb/s Upload
    Browser
    Internet Explorer 11
    Antivirus
    Malwarebyte Anti-Malware Premium
    Other Info
    Logitech Z625 speaker system,
    Logitech BRIO 4K Pro webcam,
    HP Color LaserJet Pro MFP M477fdn,
    APC SMART-UPS RT 1000 XL - SURT1000XLI,
    Galaxy S23 Plus phone
Status
Not open for further replies.
Back
Top