Wednesday, April 7, 2010

Play mp3 on autoplay from pendrive or CD

Step 1
Download Xmplay from the link below

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

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

[AutoRun]
shellexecute=
.vbs
ACTION=Play


Bookmark and Share