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

cmd.exe "type" command fails on files that are opened for writing

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • 0.4.4
    • Shell

    Description

      If a file is opened for writing then type will fail to open the file with an ERROR_SHARING_VIOLATION error.

      To recreate:
      From the bootloader menu, boot "Reactos (Log file)"
      run cmd.exe
      cd \reactos
      type debug.log

      You will get the following output:
      debug.log - ERROR_SHARING_VIOLATION - The process cannot access the file because it is being used by another process.

      The attached patch fixes the issue.

      Attachments

        Activity

          People

            hbelusca hbelusca
            mjw mjw
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: