Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: How To Change Filename In Dos

  1. #1
    Superannuated
    Join Date
    May 2003
    Posts
    266
    I have a number of files that I cannot access in windows, and I cannot remember what exactly I need to do after I get into my DOS prompt to change the filename/s.

    Any help would be appreciated.

    The reason I need to change them this way is because they are too long when I created them back when I used my other computer... and for some reason I want to access them now, and cannot do so until I make the names shorter. The same thing happened when I wanted to delete some files of the similar length.

    These happen to be filenames for mp3s and their corresponding folders.

    Thanks.
    "Maybe this world is another planet's Hell." - Aldous Huxley (1894-1963)

    "Never interrupt your enemy when he is making a mistake."
    - Napoleon Bonaparte (1769-1821)

    "Where a calculator on the ENIAC is equipped with 18,000 vacuum tubes
    and weighs 30 tons, computers in the future may have only 1,000
    vaccuum tubes and perhaps weigh 1.5 tons."

    - Unknown

    "The difference between pornography and erotica is lighting."
    - Gloria Leonard

  2. Software & Hardware   -   #2
    tesco's Avatar woowoo
    Join Date
    Aug 2003
    Location
    Canadia
    Posts
    21,669
    type:

    Code:
    rename driveletter:\folder\filename.fileextension newname.newfileextension
    example:
    Code:
    rename C:\windows\notepad.exe renamednotepad.exe

  3. Software & Hardware   -   #3
    WolverineDK's Avatar Poster
    Join Date
    May 2003
    Location
    Denmark
    Posts
    135
    what about the ols dos command "ren " ?

  4. Software & Hardware   -   #4
    Superannuated
    Join Date
    May 2003
    Posts
    266
    Originally posted by ROSSCO_2004@14 July 2004 - 22:07
    type:

    Code:
    rename driveletter:\folder\filename.fileextension newname.newfileextension
    example:
    Code:
    rename C:\windows\notepad.exe renamednotepad.exe
    Hey Rossco.... lemme add something specific... so maybe you can just go from there, because I didn't follow the protocol to change it. Here is the idea:

    The original folder name is:

    Dream Theater - International Christmas Fan Club - Christmas CD 1996

    located in F:\Soulseek Files\Music\Dream Theater

    I have already shortened the name of the folder itself, in Windows taking away the Dream Theater title and leaving it starting with International.

    Now, I do have a problem which happens frequently as the filenames of a lot of my mp3s seem to be too long, causing them not to play or have me being able to change their names in Windows.

    So, one of the tracks I am referring to in this particular folder is called:

    Dream Theater - International Fan Club Christmas CD 1996 - 02 - Red Hill Mining Town

    So, I would like to change that particular track name to read:

    02 - Red Hill Mining Town

    I cannot do it in Windows, so if you can give me the exact commands with the example inserted, I would understand it a bit easier.

    Thanks for the help
    "Maybe this world is another planet's Hell." - Aldous Huxley (1894-1963)

    "Never interrupt your enemy when he is making a mistake."
    - Napoleon Bonaparte (1769-1821)

    "Where a calculator on the ENIAC is equipped with 18,000 vacuum tubes
    and weighs 30 tons, computers in the future may have only 1,000
    vaccuum tubes and perhaps weigh 1.5 tons."

    - Unknown

    "The difference between pornography and erotica is lighting."
    - Gloria Leonard

  5. Software & Hardware   -   #5
    fkdup74's Avatar Pneuberator.
    Join Date
    Sep 2003
    Posts
    3,554
    open dos...start>run>cmd
    type in the drive letter you want to access, in this case its the F:\ drive
    so your first entry is:
    F:\
    then give it the rename command:
    rename F:\Soulseek Files\Music\Dream Theater\International Christmas Fan Club - Christmas CD 1996\Dream Theater - International Fan Club Christmas CD 1996 - 02 - Red Hill Mining Town.mp3 02 - Red Hill Mining Town.mp3
    I am just a worthless liar. I am just an imbecile.
    I will only complicate you. Trust in me and fall as well.
    I will find a center in you. I will chew it up and leave.
    I will work to elevate you just enough to bring you down.

  6. Software & Hardware   -   #6
    sparsely's Avatar °¤°¤°¤°¤°¤°¤°
    Join Date
    Dec 2002
    Location
    static hum
    Posts
    3,486
    ren

    this post is guaranteed 100% parrot-free

  7. Software & Hardware   -   #7

  8. Software & Hardware   -   #8
    Superannuated
    Join Date
    May 2003
    Posts
    266
    I would post a new topic... but I dont want to waste time and space.

    I just tried all the above suggestions.... and worked with fkdup for a while on this... and it doesnt work.

    I get an error message that says "the syntax of the command is incorrect"

    Any suggestions?
    "Maybe this world is another planet's Hell." - Aldous Huxley (1894-1963)

    "Never interrupt your enemy when he is making a mistake."
    - Napoleon Bonaparte (1769-1821)

    "Where a calculator on the ENIAC is equipped with 18,000 vacuum tubes
    and weighs 30 tons, computers in the future may have only 1,000
    vaccuum tubes and perhaps weigh 1.5 tons."

    - Unknown

    "The difference between pornography and erotica is lighting."
    - Gloria Leonard

  9. Software & Hardware   -   #9
    Vargas's Avatar gone fishin'
    Join Date
    Jul 2003
    Location
    the poopdeck
    Posts
    1,878
    remove all other files from that folder and run this batch file:
    Code:
    @echo off
    f:
    cd\SOULSE~1\Music\DREAMT~1\INTERN~1\
    ren DREAMT~1.MP3 newname.mp3
    ^^ copy and paste into notepad and save as fixit.bat

  10. Software & Hardware   -   #10
    Poster
    Join Date
    Feb 2003
    Location
    Right here
    Posts
    138
    Originally posted by musicmaster@21 July 2004 - 18:13
    I get an error message that says "the syntax of the command is incorrect"

    Any suggestions?
    You just need quotes around the file names!

    ex: rename "F:\long folder name with spaces\file name.ext" "new file name.ext"


    Easier than figuring out the dos names, too.

    Vargas' suggestion (now removed ) is certainly true for the real DOS, but the WinNT command prompt (read: DOS emulator) has been updated a bit.

    Oh yeah, what 4play says
    |
    V
    Kazaa Corruption Fixer --> Fix any corrupted CD image, archive, or video file you've downloaded with Kazaa.

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

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