Created
February 14, 2018 20:34
-
-
Save jftuga/932706f6c6e70508e1d856ba67d83014 to your computer and use it in GitHub Desktop.
Split a Windows Path into separate lines
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
rem see also freq at: https://github.com/jftuga/universe/blob/master/freq.cs | |
rem see also mawk at: https://www.klabaster.com/freeware.htm | |
rem eample: dir ... | mawk .. | freq | less | |
dir "%1" /s/b | mawk "BEGIN{FS='\\';OFS='\n'} {$1=$1}1" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment