I am trying to find a way to get a listing of all files, without hidden directories. I have tried several variations of something like this:
dir /b /s /a:-h z:\ >toc-z.txt
but this only skips over hidden files. I need a listing which excludes all hidden folders, including files and sub-folders of these hidden folders.
Is there any way I can skip parsing and listing of hidden folders?