force Posted April 4, 2007 Share Posted April 4, 2007 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 Link to comment Share on other sites More sharing options...
jvanegmond Posted April 4, 2007 Share Posted April 4, 2007 ShellExecute github.com/jvanegmond Link to comment Share on other sites More sharing options...
force Posted April 4, 2007 Author Share Posted April 4, 2007 ShellExecute Sweet! Works perfectly now! Thanks! Link to comment Share on other sites More sharing options...
jvanegmond Posted April 4, 2007 Share Posted April 4, 2007 Sweet! Works perfectly now! Thanks!No problem. github.com/jvanegmond Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now