Results 1 to 12 of 12

Thread: Long File Names Deleting

  1. #1
    Senior Member Stringent's Avatar
    Join Date
    Jul 2003
    Location
    Neverland
    Posts
    5,227
    Thanks
    45
    Thanked
    155 times in 117 posts
    • Stringent's system
      • Motherboard:
      • Intel DQ57TM
      • CPU:
      • Intel i5 760
      • Memory:
      • 8GB
      • Storage:
      • 1TB
      • Graphics card(s):
      • NVIDIA Geforce 260GTX
      • PSU:
      • Corsair HX620
      • Case:
      • Coolermaster Centurion
      • Operating System:
      • Microsoft Windows 7 Ultimate x64
      • Monitor(s):
      • Dual Iiyama 24"
      • Internet:
      • Patchy

    Long File Names Deleting

    On our server we have a couple of students that have filenames in their area longer than the 128 char limit. Windows wont do anything with these files. Won't rename, wont delete, wont copy, cant see the properties, nothing. We can manage all other files in their home directory just not these. Any suggestions?
    Last edited by Stringent; 22-04-2004 at 10:43 AM.

  2. #2
    Senior Member
    Join Date
    Feb 2004
    Location
    Lost in Cyberspace
    Posts
    374
    Thanks
    0
    Thanked
    0 times in 0 posts
    How did they manage to make the filename bigger than the 128 characters in the first place? ?:s

  3. #3
    Senior Member Stringent's Avatar
    Join Date
    Jul 2003
    Location
    Neverland
    Posts
    5,227
    Thanks
    45
    Thanked
    155 times in 117 posts
    • Stringent's system
      • Motherboard:
      • Intel DQ57TM
      • CPU:
      • Intel i5 760
      • Memory:
      • 8GB
      • Storage:
      • 1TB
      • Graphics card(s):
      • NVIDIA Geforce 260GTX
      • PSU:
      • Corsair HX620
      • Case:
      • Coolermaster Centurion
      • Operating System:
      • Microsoft Windows 7 Ultimate x64
      • Monitor(s):
      • Dual Iiyama 24"
      • Internet:
      • Patchy
    Well whether its longer than 128 chars or not, the file name is mega long and Windows is doing nothing with it. Haven't bothered to count the chars but its something like:

    the day I went on holiday and had a really good time and I met this famous star and we went on a cruise.doc

    Silly eh.

  4. #4
    Senior Member
    Join Date
    Feb 2004
    Location
    Lost in Cyberspace
    Posts
    374
    Thanks
    0
    Thanked
    0 times in 0 posts
    lol. n00bs...the cause of all lifes technical problems

    Can I ask what OS your running?

    Edit: (103 charactors btw )

  5. #5
    Senior Member Stringent's Avatar
    Join Date
    Jul 2003
    Location
    Neverland
    Posts
    5,227
    Thanks
    45
    Thanked
    155 times in 117 posts
    • Stringent's system
      • Motherboard:
      • Intel DQ57TM
      • CPU:
      • Intel i5 760
      • Memory:
      • 8GB
      • Storage:
      • 1TB
      • Graphics card(s):
      • NVIDIA Geforce 260GTX
      • PSU:
      • Corsair HX620
      • Case:
      • Coolermaster Centurion
      • Operating System:
      • Microsoft Windows 7 Ultimate x64
      • Monitor(s):
      • Dual Iiyama 24"
      • Internet:
      • Patchy
    LOL, yeah I counted the one I typed, that wasn't the filename btw! Windows 2000 Server SP2. We have issues with SP3 and SP4 with other software we run.

    The sentance filename (looking at it) is easily double the example I gave. It lets you create them for some bizarre reason, but not do anything with them at a later date. Logged in as the person who created the file and it still wont let us do anything with it. Just stuck there. The filename is more like

    once upon a time I met a laptop and the laptoip was very sad because he was a P133 and nothing else would run on him. I decided to pick him up and put linux on, the laptop was happy after that.doc

    Dunno how many that is
    Last edited by Stringent; 22-04-2004 at 11:05 AM.

  6. #6
    Senior Member
    Join Date
    Feb 2004
    Location
    Lost in Cyberspace
    Posts
    374
    Thanks
    0
    Thanked
    0 times in 0 posts
    what exactly can you dow ith it? Ie, can you click on the file and highlight it? move it around the screen? When you right click on it does ANYTHING happen?

  7. #7
    Funking Prink! Raz316's Avatar
    Join Date
    Jul 2003
    Location
    Deal, Kent, UK
    Posts
    2,978
    Thanks
    130
    Thanked
    62 times in 52 posts
    open up a CMD/command window. Browse to the directory they are in and type..

    dir /x

    find its short name (FILENA~1.EXT or something similar)
    del FILENA~1.EXT

    not sure if that will work, but worth a try

  8. #8
    Senior Member Stringent's Avatar
    Join Date
    Jul 2003
    Location
    Neverland
    Posts
    5,227
    Thanks
    45
    Thanked
    155 times in 117 posts
    • Stringent's system
      • Motherboard:
      • Intel DQ57TM
      • CPU:
      • Intel i5 760
      • Memory:
      • 8GB
      • Storage:
      • 1TB
      • Graphics card(s):
      • NVIDIA Geforce 260GTX
      • PSU:
      • Corsair HX620
      • Case:
      • Coolermaster Centurion
      • Operating System:
      • Microsoft Windows 7 Ultimate x64
      • Monitor(s):
      • Dual Iiyama 24"
      • Internet:
      • Patchy
    When we right click we get all the normal options when you right click a file. It just wont do any of the things you click on, just clicks the menu off.

    @Raz316 tried that, comes up File Not Found even though its blatantly listing it, along with its short name.

  9. #9
    Funking Prink! Raz316's Avatar
    Join Date
    Jul 2003
    Location
    Deal, Kent, UK
    Posts
    2,978
    Thanks
    130
    Thanked
    62 times in 52 posts
    hows about

    del startoffilename*

    (making sure you are specific enough not to delete other legit files)

  10. #10
    Comfortably Numb directhex's Avatar
    Join Date
    Jul 2003
    Location
    /dev/urandom
    Posts
    17,074
    Thanks
    228
    Thanked
    1,027 times in 678 posts
    • directhex's system
      • Motherboard:
      • Asus ROG Strix B550-I Gaming
      • CPU:
      • Ryzen 5900x
      • Memory:
      • 64GB G.Skill Trident Z RGB
      • Storage:
      • 2TB Seagate Firecuda 520
      • Graphics card(s):
      • EVGA GeForce RTX 3080 XC3 Ultra
      • PSU:
      • EVGA SuperNOVA 850W G3
      • Case:
      • NZXT H210i
      • Operating System:
      • Ubuntu 20.04, Windows 10
      • Monitor(s):
      • LG 34GN850
      • Internet:
      • FIOS
    run scandisk? saved my ass back in the MSDOS days when i ended up with files with spaces in their names

  11. #11
    Senior Member Stringent's Avatar
    Join Date
    Jul 2003
    Location
    Neverland
    Posts
    5,227
    Thanks
    45
    Thanked
    155 times in 117 posts
    • Stringent's system
      • Motherboard:
      • Intel DQ57TM
      • CPU:
      • Intel i5 760
      • Memory:
      • 8GB
      • Storage:
      • 1TB
      • Graphics card(s):
      • NVIDIA Geforce 260GTX
      • PSU:
      • Corsair HX620
      • Case:
      • Coolermaster Centurion
      • Operating System:
      • Microsoft Windows 7 Ultimate x64
      • Monitor(s):
      • Dual Iiyama 24"
      • Internet:
      • Patchy
    Hmm in the end, backed up his folder (ignored the long filename) and deleted/recreated his area with the other files. Stupidly easy, but dumb nonetheless.

    Strange it let us delete the folder though ... Another weird one for MS.

  12. #12
    Ex-MSFT Paul Adams's Avatar
    Join Date
    Jul 2003
    Location
    %systemroot%
    Posts
    1,926
    Thanks
    29
    Thanked
    77 times in 59 posts
    • Paul Adams's system
      • Motherboard:
      • Asus Maximus VIII
      • CPU:
      • Intel Core i7-6700K
      • Memory:
      • 16GB
      • Storage:
      • 2x250GB SSD / 500GB SSD / 2TB HDD
      • Graphics card(s):
      • nVidia GeForce GTX1080
      • Operating System:
      • Windows 10 x64 Pro
      • Monitor(s):
      • Philips 40" 4K
      • Internet:
      • 500Mbps fiber
    Might possibly be able to do a wildcard file rename:

    Command prompt, navigate to folder the file is in, assume filename is "start of long filename blah..." and there are no other files beginning with the word "start"...

    ren start* crap
    del crap


    I've used this method to be able to remove a corrupt filename before - Windows moved it to the recycle bin but would not empty it from there as it didn't like the filename.
    ~ I have CDO. It's like OCD except the letters are in alphabetical order, as they should be. ~
    PC: Win10 x64 | Asus Maximus VIII | Core i7-6700K | 16GB DDR3 | 2x250GB SSD | 500GB SSD | 2TB SATA-300 | GeForce GTX1080
    Camera: Canon 60D | Sigma 10-20/4.0-5.6 | Canon 100/2.8 | Tamron 18-270/3.5-6.3

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. file eating monster: virus, XP or hard drive
    By justravis in forum PC Hardware and Components
    Replies: 16
    Last Post: 26-02-2009, 02:58 AM
  2. How long can an IDE cable be?
    By headbrace in forum PC Hardware and Components
    Replies: 19
    Last Post: 01-12-2006, 03:08 PM
  3. Java file reading and Stroing in array
    By Basher in forum Software
    Replies: 16
    Last Post: 07-04-2004, 09:19 PM
  4. Manage downloaded webpages file and folder
    By Zathras in forum Software
    Replies: 0
    Last Post: 17-09-2003, 05:37 PM
  5. Replies: 0
    Last Post: 20-08-2003, 11:42 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •