none
"findstr" command does not work correctly. RRS feed

  • Question

  • Hi guys.
    I tried to use "fidnstr" command to get rid of dupilicated line as below.

    findstr /LVG:file1 file2

    file1 and file2 are same contents shown as below.

    C:\SHELL\GM\CONF\CBsysfildel_X501.parm
    C:\SHELL\GM\CONF\Cbsysg

    I did the command show above and result is as below.

    C:\Users\tmp>findstr /LVG:file2.txt file1.txt
    C:\SHELL\GM\CONF\Cbsysg

    These files are completely same. ( They aren't  shown a difference by fc /b command) 
    Why does "findstr" command show a defference (C:\SHELL\GM\CONF\Cbsysg).

    OS version is as below.
    Microsoft Windows 7 Professional
    6.1.7601 Service Pack 1 build 7601

    thanks in advance!



    • Edited by Yosuke.T Friday, July 27, 2018 5:32 AM
    • Moved by Stanly Fan Saturday, July 28, 2018 12:00 AM From Windows Forms forum
    Friday, July 27, 2018 3:46 AM

Answers

All replies

  • Hi Yosuke,

    This forum is discussing and asking questions about the Windows Form and ClickOnce, I'm afraid your question is more related to Windows command, I will move this thread to Where is the Forum for...? Forum to redirect it.

    Thank you for your understanding.

    Regards,

    Stanly


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Saturday, July 28, 2018 12:00 AM
  • I would ask your question here:

    https://answers.microsoft.com/en-us/windows/forum/files


    Richard Mueller - MVP Enterprise Mobility (Identity and Access)


    Saturday, July 28, 2018 1:30 AM
    Moderator
  • I'm sorry for mistaking the choice for forum.
    I' m going to post to the forum Mr Richard proposed.

    Thank you for your help. :)

    Tuesday, July 31, 2018 1:18 AM
  • Thank you for replying.
    I' m going to post to the forum you proposed.
    I'm happy to your help :)

    Tuesday, July 31, 2018 1:19 AM
  • You are welcome.

    Richard Mueller - MVP Enterprise Mobility (Identity and Access)

    Tuesday, July 31, 2018 1:44 AM
    Moderator
  • Thank you for replying.
    I' m going to post to the forum you proposed.
    I'm happy to your help :)


    So your question is answerd. Please mark the answer that helped you.
    Tuesday, July 31, 2018 11:11 AM
    Moderator