DIR Command in Windows Command Line -


how use dir command list directories, including subdirectories, contain no files? i've researched @ length , can find how delete specified directories, not list them. can help? there better way other dir command?

you modify powerscript answer on linked question display instead of delete this:

get-childitem -recurse . | { $_.psiscontainer -and @( $_ | get-childitem ).count -eq 0 } | select-object -property fullname 

Comments

Popular posts from this blog

commonjs - How to write a typescript definition file for a node module that exports a function? -

openid - Okta: Failed to get authorization code through API call -

ios - Change Storyboard View using Seague -