Introduction to WIndows Command Line

Cyberkur Syiem 0 Reputation points
2023-05-26T06:07:20.1666667+00:00

findstr [/b] [/e] [/l | /r] [/s] [/i] [/x] [/v] [/n] [/m] [/o] [/p] [/f:flag.txt] [/c:<string>] [/g:flag.txt] [/d:<dirlist>] [/a:<colorattribute>] [/off[line]] <strings> [C:][Users\user4\Documents]flag.txt[ ...]

The system cannot find the file specified.

can you check what's wrong with this commands?

findstr C:\Users\user4\Documents\flag.txt (this one doesn't even show anything)

Windows 10 Security
Windows 10 Security
Windows 10: A Microsoft operating system that runs on personal computers and tablets.Security: The precautions taken to guard against crime, attack, sabotage, espionage, or another threat.
2,323 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Olaf Helper 28,701 Reputation points
    2023-05-26T06:52:10.3+00:00

    this one doesn't even show anything

    Your post is more then unclear.

    What do you expect, you pass just a file name to the function FINDSTR, but no search pattern or any other parameter; of course you get an empty result.

    0 comments No comments