Link to home
Start Free TrialLog in
Avatar of RayT
RayTFlag for United States of America

asked on

Playing audio/video files in Windows 10

Before Windows 10 an audio/video file could be played from a VB Script using a Shell command.  How do you play an audio/video file from a VB Script with Windows 10?
Avatar of Bill Prew
Bill Prew

I would expect the same thing to work, as long as the extension of the file is recognized as associated with Windows Media Player.

What is the name of the file?

And what is the VBS code you are trying that doesn't work?

~bp
I just tried it with an MP# file here, that worked fine.

~bp
Avatar of RayT

ASKER

Can you show me the code?
ASKER CERTIFIED SOLUTION
Avatar of Bill Prew
Bill Prew

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of RayT

ASKER

Will this work on Windows 10?
Yes, that's where I tested it.

~bp
Avatar of RayT

ASKER

Thanks