I need a command line that will retrieve the contents of the folders:
"d:\Install Android\"|"d:\Install\"|"d:\Soft\- *\"
With extensions:
*.7z|*.apk|*.apks|*.exe|*.iso|*.msi|*.rar|*.xapk|*.zip
And the result - the full path to the file - should be output to a text file:
D:\-\log.txt
Get contents of multiple folders
Re: Get contents of multiple folders
Code: Select all
es "d:\Install Android\"`|"d:\Install\"`|"d:\Soft\- *\" ext:7z;apk;apks;exe;iso;msi;rar;xapk;zip -export-txt d:\-\log.txtES (Command Line Interface)
Re: Get contents of multiple folders
Typo:
should be:
so you should be something like:
`| = escaped |should be:
^| = escaped |so you should be something like:
Code: Select all
es "d:\Install Android\"^|"d:\Install\"^|"d:\Soft\- *\" ext:7z;apk;apks;exe;iso;msi;rar;xapk;zip -export-txt d:\-\log.txtRe: Get contents of multiple folders
Thanks. When I first saw that bactick escape, I thought to myself -- "Since when has the backtick been used as an escape character in the Windows CMD Command Prompt?"
Re: Get contents of multiple folders
backtick (`) is for PowerShell commands; caret (^) is for CMD.