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

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Fix Version/s: 0.4.4
    • Component/s: Shell
    • Labels:

      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

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

              Dates

              • Created:
                Updated:
                Resolved: