I am using a Perl Script that tries to open MS office Picture Manager to check a group of BNP image files, similar to opening the OIS.EXE from a DOS command line. I am able to open the OIS.EXE file by using the command line if there is no image files that are specified. But when I am including the names of the BMP files in the command line then it will not work. Is there anyone who can tell me how to open up Picture Manager from the command line so that I can look at the specified list of BMP files? Below are the excerpts from the Perl script:
$Picture_Mngr_exe_file = "\"C:\\Program Files\\Microsoft Office\\Office12\\OIS.EXE\"";
After that if I am trying to open Picture Manager within the Perl Script, the first version of $system_command does not work, but the second version does not.
# $system_command = "$Picture_Mngr_exe_file $BMP_plotfile_list";
$system_command = "$Picture_Mngr_exe_file";
print "System command: ==>|$system_command|<==\n";
system "($system_command) &";
Can anyone please help? Thanks.
Bookmarks