Score:0

In Windows cmd, does `dir /s` bypass the index?

nl flag

I believe the answer to this question is Yes it does, but I can't find any source to confirm.

The question is, if I'm in a cmd box at the root of a drive and I do

dir /s <filename spec> 

does Windows simply search of the entire drive, bypassing the index that Windows Explorer uses?

The use case is a general store of several TB, where people just dump stuff in. We do find things with the dir command that we don't find using Explorer.

The IT provider occasionally rebuilds the index, but the bottom line is that you never really know if the search result in Explorer is reliable or not. I don't care how long it takes to find, I just need to know if it's there or not.

cn flag
`does Windows simply search of the entire drive` Yes, it does.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.