OPTION EXPLICIT dim wins, yourprog, yourfileSet wins = WScript.CreateObject("WScript.Shell")yourprog = "C:\Program Files\Windows Media Player\wmplayer.exe"yourfile = CHR(34) & "C:\Windows\Desktop\YOURFILE.avi" & CHR(34)'You need to quote the file you're putting in, as you would in'start, run.. so the chr(34) does that (double-quote)ws.Run CHR(34) & yourprog & CHR(34) & yourfile, 0, "FALSE"
thnx, but where should I paste this into my vbsript? After the part wich is:
if choice = vbYes Then....
thank you for helping me... --- by the way... when