Paths shown in DIR /B

Jan 25, 2011
34
0
I would expect Dir /B to show just filenames and nothing else. But in some cases and not others the full path is quoted in square brackets after the filename, Why is this?
I am running Take Command v24.02.50 x64 on Windows 10 and giving the command dir /B on a folder in Dropbox (folder is in the cloud)
 

Charles Dye

Super Moderator
Staff member
May 20, 2008
4,202
72
Albuquerque, NM
prospero.unm.edu
Most likely, you're seeing junctions. The directory in brackets is the target of the junction. The option /NL should disable this feature. (I'm kind of surprised that /B doesn't disable it automatically.)