my $path_to_image = "D:/testing/image.jpg"; system("C:/Program Files/Internet Explorer/iexplore.exe", "file:///" . $path_to_image);