dir /s/b C:\users\User\Music | perl -pe"s/^C:\\users\\User\\Music\\//" + >filelist.txt
You probably want to add /a-d to avoid listing directory names.
In reply to Re: How to make code smaller--saving steps and writing one liners
by ikegami
in thread How to make code smaller--saving steps and writing one liners
by Petras
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |