my $openprogram = system("progam.exe"); #### my $openprogram = 'progam.exe'; # or '/path/to/program.exe'