Opening image file with Picture Manager from command line

  • Thread starter JCWeaver in Raleigh
  • Start date
J

JCWeaver in Raleigh

I have a Perl script that attempts to open MS Office Picture Manager to view
a group of BMP image files, similar to opening the OIS.EXE from a DOS command
line. I can open the OIS.EXE file from the command line if no image files
are specified. But if I include the names of the BMP files in the command
line, it does not work.

Can anyone direct me on how to open up Picture Manager from the command line
to look at a specified list of BMP files?

Excerpts from the Perl script...

$Picture_Mngr_exe_file = "\"C:\\Program Files\\Microsoft
Office\\Office12\\OIS.EXE\"";

then when attempting open Picture Manager from 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) &";



Any guidance would be appreciated...thanks.

JCWeaver
Raleigh, NC
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top