Uploaded image for project: 'Core ReactOS'
  1. Core ReactOS
  2. CORE-3595

CMD rename/ren works in wrong way.Patch included

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • None
    • Shell
    • None
    • Operating System: ReactOS
      Platform: x86 Hardware

    Description

      Created an attachment (id=3268)
      Patch to fix this issue

      Steps to reproduce:

      1)Create a file in C:\ called deleteme.txt
      2)Open CMD.(Prompt is in C:\Reactos\System32)
      2)Then try to rename deleteme.txt to delete2.txt with:

      rename C:\deleteme.txt C:\delete2.txt

      It gives the following error:

      deleteme.txt-> C:\delete2.txt
      MoveFile() fail. Error: 2
      0 files renamed
      *********************
      It happens because we are passing wrong srcAddress to MoveFile.
      (As you can see)
      Patch is attached it fixes the following wrong issues:
      1)Show correct address when making "rename"
      2)Give MoveFile correct address.
      (My first patch... ^^)

      Attachments

        Activity

          People

            bug zilla Bug Zilla
            vicmarcal vicmarcal
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: