hamburger menu
All Coursesall course arrow
adda247
reward-icon
adda247
    arrow
    arrow
    arrow
    What happens if a user tries to rename a file to the same name as an existing file in the same folder?
    Question

    What happens if a user tries to rename a file to the same name as an existing file in the same folder?

    A.

    The file extension is automatically changed.

    B.

    Windows merges the contents of both files.

    C.

    Windows displays an error: "A file with this name already exists."

    D.

    Windows appends a number to the new filename (e.g., Document (2).txt).

    Correct option is C

    The correct answer is (C) Windows displays an error: "A file with this name already exists."

    Explanation:

    • If a user tries to rename a file to the same name as an existing file in the same folder, Windows will not automatically append a number or merge files. Instead, it will display an error message stating: "A file with this name already exists."
    • The user will be prompted to either choose a different name for the file or overwrite the existing file if they proceed with the rename.

    Information Booster:

    • This error helps prevent overwriting files unintentionally, maintaining file integrity within the same folder.
    • Windows uses the "A file with this name already exists" message to ensure that no files are lost by accidental renaming.

    Additional Knowledge:

    (A) The file extension is automatically changed.

    • This is incorrect. The file extension will not be changed automatically in this case. Only the filename will remain as it is unless explicitly modified by the user.

    (B) Windows merges the contents of both files.

    • This is incorrect. Windows does not merge files when two files with the same name are attempted to be saved in the same folder.

    (D) Windows appends a number to the new filename (e.g., Document (2).txt).

    • This happens when a user tries to copy or move a file into the folder where a file with the same name already exists, not when renaming an existing file.

    Free Tests

    Free
    Must Attempt

    CBT-1 Full Mock Test 1

    languageIcon English
    • pdpQsnIcon100 Questions
    • pdpsheetsIcon100 Marks
    • timerIcon90 Mins
    languageIcon English
    Free
    Must Attempt

    RRB NTPC Graduate Level PYP (Held on 5 Jun 2025 S1)

    languageIcon English
    • pdpQsnIcon100 Questions
    • pdpsheetsIcon100 Marks
    • timerIcon90 Mins
    languageIcon English
    Free
    Must Attempt

    CBT-1 General Awareness Section Test 1

    languageIcon English
    • pdpQsnIcon40 Questions
    • pdpsheetsIcon30 Marks
    • timerIcon25 Mins
    languageIcon English
    test-prime-package

    Access ‘RRB NTPC’ Mock Tests with

    • 60000+ Mocks and Previous Year Papers
    • Unlimited Re-Attempts
    • Personalised Report Card
    • 500% Refund on Final Selection
    • Largest Community
    students-icon
    353k+ students have already unlocked exclusive benefits with Test Prime!
    Our Plans
    Monthsup-arrow