[Perl] run a program in windows

Nimster nimster at netvision.net.il
Tue Feb 19 02:58:44 PST 2002

> Hi All


> I'm a Unix developer so I'm not familiar with perl on windows.
> Maybe someone know how to activate the media player with a special file
> contain a voice message during the perl script

Quite simply, actually. Do a system call for C:\Program Files\Windows Media
Player\wmplayer.exe "path\to\file".
This is the default installation path for WMP. Maybe a registery or
enviroment variable holds the path for every machine, but I do not know of

> Rony Sibony
> +972-51-232031
> +972-3-6452031
> _______________________________________________
> Perl mailing list
> Perl at perl.org.il
> http://www.perl.org.il/cgi/listinfo/perl

More information about the Perl mailing list