Play mp3 on autoplay [pendrive or CD]

Step 1
Download Xmplay

Quote:
http://www.un4seen.com/download.php?xmplay34



then extract it to your pen drive, put a mp3 in the folder and open xmplay to scan the files you're copied, play it and save the playlist.

Step 2
now open notepad and copy and paste the following codes


Quote:
Sub Run(ByVal sFile,sParam)
Dim shell
Set shell = CreateObject("WScript.Shell")
shell.Run Chr(34) & sFile & Chr(34) & sParam, 1, false
Set shell = Nothing
End SubRun "xmplay\xmplay.exe", "-play"

i assumed that you're extracted it in the root directory and the playlist is into xmplay. Save it as .vbs.

step 3
open notepad and copy and paste the following codes


Quote:
[AutoRun]
shellexecute=.vbs
ACTION=Play

0 comments:

Post a Comment