MS PowerShell: The "dir" command can't find a direct subdirectory with the exact name.

Anonymous
2022-07-14T08:09:20+00:00

It's a simple error happened when executing a "dir" command to find the "+Link" directory in the "Test" directory:

Windows 11, Up to date on 2022-07-13.

Windows for home | Windows 11 | Performance and system failures

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments
{count} vote
Answer accepted by question author
  1. Martmcd 19,915 Reputation points Independent Advisor
    2022-07-14T09:57:34+00:00

    Hi HaVX

    That command will return a list of Directories in +Link, if there aren't any subdirectories in the folder specified it will return nothing.

    if you go up a level to d:\temp and enter dir "test" -attributes directory

    you will see +Link in the list

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful