How to rename long name in Win 8.1

Discussion in 'Software' started by mdietz39, Jan 14, 2015.

  1. mdietz39

    mdietz39 Private First Class

    I am running Win 8.1. In the stuff I have copied over from my old XP computer there are several files with extremely long names. Win 8.1 will not let me copy them, delete them, rename them, etc. It gives the error message that the name is too long to process.

    How can I rename them. I highlight one, right click, but I do not get the "normal" set of options including delete or rename. Simply to open, etc.

    What should I do?

    Thank you very much
    Mike with the 12 inches of snow (Bugger).
     
  2. mdonah

    mdonah Major Geek Extraordinaire

    If the name is over 31 characters in length, you'll run into that. It's surprising XP allowed names that long. Can you rename them in XP then copy them over to 8.1
     
  3. mdietz39

    mdietz39 Private First Class

    I am afraid not. The XP computer is long gone. I have several dozen of these files. Is there any kind of a hex patch I might try?

    Again thank you for the reply

    Mike of the freezing, winter weather.
     
  4. theefool

    theefool Geekified

    So, for my example, I've created a file called: blahblahblahblahblahbalhbalhiasasdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff.txt

    This file is in my c:\test folder.

    So, to rename this long file, I'll just click start, then run, then type in CMD and press enter.

    I'll type in cd\test (press enter).
    type in: dir /x

    Note 1b with the boxed item. You will want that info.

    So, simply run:

    ren BLAHBL~1.txt whatever.txt
    dir
    done (not a command) Note 2nd attachment.

    If there are dozens of files, to rename, I'm sure the German guy can help out.
     

    Attached Files:

    Last edited: Jan 14, 2015
  5. mdietz39

    mdietz39 Private First Class

    Thank you so much. Once again MajorGeeks is the best!!!

    Mike with the truck in the snow for three hours yesterday. Thank heaven for farm tractors, chains, and shovels.
     

MajorGeeks.Com Menu

Downloads All In One Tweaks \ Android \ Anti-Malware \ Anti-Virus \ Appearance \ Backup \ Browsers \ CD\DVD\Blu-Ray \ Covert Ops \ Drive Utilities \ Drivers \ Graphics \ Internet Tools \ Multimedia \ Networking \ Office Tools \ PC Games \ System Tools \ Mac/Apple/Ipad Downloads

Other News: Top Downloads \ News (Tech) \ Off Base (Other Websites News) \ Way Off Base (Offbeat Stories and Pics)

Social: Facebook \ YouTube \ Twitter \ Tumblr \ Pintrest \ RSS Feeds