Introduction to Command line

User4 has a lot of files and folders in their Documents folder. The flag can be found within one of them.

I fould I kid you not, 30 flag.txt files each in an individually labeled file. The ones that I’ve looked within were empty but I’ll admit to checking only a handful thus far. Am I supposed to create a loop concatenating them all together?

As it turns out the solution for this was very plainly in the “Finding and Filtering Content” Section and I just needed fresh eyes.

can you suggest me which filter command should i use

did you get this one? cna you show me how did you filter it?

I guess by cmd and not by powershell? All the files are empty
I can’t see the flag

for /R “C:\Users\user4\Documents” %F in (flag.txt) do @if %~zF gtr 1 echo %~dpnxF - %~zF bytes