shell?

Localhost
09-10-2003, 11:51 PM
hey all...

i'm trying to run a file using the default application that it is associated with.

specifically i want to play an avi file in whatever the default program is (i.e. windows media player, winamp, etc).

i tried doing shell "C:\path\to\avifile.avi"
but that just gave an error


any ideas?

blindwig
09-11-2003, 12:15 AM
hey all...

i'm trying to run a file using the default application that it is associated with.

specifically i want to play an avi file in whatever the default program is (i.e. windows media player, winamp, etc).

i tried doing shell "C:\path\to\avifile.avi"
but that just gave an error


any ideas?
You use SHELL to launch a specific application, but you need to ShellExecute to open a file with it's default application.

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum