Looking through network shares can be slow, and waiting for individual searches to finish looking through the whole “drive” is redundant. Easier to just use some Windows voodoo to get a good list to look through offline:
start /b cmd /c dir /b /s \\nas\users_home_share$ ^> shareinfo.txt Breaking that down:
start /b - starts a process that won’t hang up our current one, with the “b” flag meaning “background”, yay not visible to the user!
↧