Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Playlist Creator
- # Creates a playlist from audio files in a directory
- # Version: 1.0A
- $sourceFolder = 'E:\Music Collection\Westworld\Westworld(FLAC)\'
- $targetfile = 'playlist.m3u'
- # End edits
- Set-Location $sourceFolder
- Get-ChildItem *.* -include *.flac,*.ogg,*.mp3,*.m4a -name | Out-File -Encoding UTF8 $sourceFolder$targetfile
- Write-Host 'Created Playlist for the folder:'$sourceFolder -ForegroundColor Green
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement