Sign in to follow this  
Followers 0
force

Open a file with the program associated with file type

4 posts in this topic

Hi!

Is it possible to open a file with the program associated with the file type?

For instance I want to open an .avi file with the associated media player (in my case videolan vlc.exe).

Im working on a script to play an .avi file at random from a selected folder.

I want the script to work regardless of which media player you prefer.

Can this be done, or do I have to compromise?

Thanks in advance!

/E

Share this post


Link to post
Share on other sites



ShellExecute :shocked:

Sweet! Works perfectly now! Thanks!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0