Code: Select all
$musicPLayer = "C:\Program Files (x86)\VideoLAN\VLC\vlc.exe"
Start-Process -FilePath $musicPlayer -ArgumentList """$path1"" --playlist-enqueue --one-instance"
Start-Process -FilePath $musicPlayer -ArgumentList """$path2"" --playlist-enqueue --one-instance"
Start-Process -FilePath $musicPlayer -ArgumentList """$path3"" --playlist-enqueue --one-instance"
Start-Process -FilePath $musicPlayer -ArgumentList " --play-and-exit --one-instance"