TRIGGERcmd
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Make a playlist of mp3's in a folder, and play them

    Windows
    1
    1
    2.2k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • RussR
      Russ
      last edited by Russ

      Notice how you can chain multiple commands in one command line with &'s:

      😄 & cd "%USERPROFILE%\Music" & dir /s /b *.mp3 > playlist.m3u & start playlist.m3u

      The command does the following:

      1. Changes to the 😄 drive in case your default working folder is on a drive other than 😄
      2. Changes directory to the Music folder in your profile folder
      3. Creates a playlist file of all of the .mp3 files in your Music folder, including subfolders
      4. Launches the playlist using your default music player

      Russell VanderMey

      1 Reply Last reply Reply Quote 0
      • First post
        Last post