The Notebook Review forums were hosted by TechTarget, who shut down them down on January 31, 2022. This static read-only archive was pulled by NBR forum users between January 20 and January 31, 2022, in an effort to make sure that the valuable technical information that had been posted on the forums is preserved. For current discussions, many NBR forum users moved over to NotebookTalk.net after the shutdown.
Problems? See this thread at archive.org.

    Renaming using command prompt [Rather Urgent]

    Discussion in 'Windows OS and Software' started by sxusteven, Apr 11, 2009.

  1. sxusteven

    sxusteven Notebook Evangelist

    Reputations:
    33
    Messages:
    550
    Likes Received:
    0
    Trophy Points:
    30
    Hi,
    I need to rename a file located D:\Windows\System32\uxtheme.dll.old into D:\Windows\System32\uxtheme.dll with only a command prompt.
    I'm having difficulties with the REN command. If anyone could write the proper script to perform this function, it would be greatly appreciated.
    Thanks
     
  2. jackluo923

    jackluo923 Notebook Virtuoso

    Reputations:
    1,038
    Messages:
    3,071
    Likes Received:
    1
    Trophy Points:
    105
    I don't think rename would work using command prompt because it's a system protected file.

    Are you trying to revert to the original windows xp theme file from a modded one?
     
  3. swarmer

    swarmer beep beep

    Reputations:
    2,071
    Messages:
    5,234
    Likes Received:
    0
    Trophy Points:
    205
    So... take out the pathname from the destination file...

    Or you can use the "move" command, which does let you specify a dest. path.

    If you get a permissions error, try running the command prompt "as administrator".
    i.e.: Windows key + "cmd" + shift-ctrl-Enter.