Go Back   TechArena Community > Technical Support > Computer Help > Office Help > MS Office Support
Become a Member!
Forgot your username/password?
Tags Active Topics RSS Search Mark Forums Read SiteMap

Sponsored Links


Opening image file with Picture Manager from command line

MS Office Support


Reply
 
Thread Tools Search this Thread
  #1  
Old 25-01-2008
MikeY007's Avatar
Member
 
Join Date: Jun 2006
Posts: 206
Opening image file with Picture Manager from command line

Sponsored Links
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.

Reply With Quote
  #2  
Old 04-02-2013
Member
 
Join Date: Sep 2004
Posts: 154
Re: Opening image file with Picture Manager from command line

You can do that by configuring a FollowHyperlink. I am sure you would be able to understand what I am trying to tell. Or another thing you can try is shell. That will also allow you to specify the program that you want to open with a respective command. Another thing you can do is configure Picture Manager as the default application to open image files. You can use the following command then : Application.FollowHyperlink "full path\01.JPG"
Reply With Quote
Reply

  TechArena Community > Technical Support > Computer Help > Office Help > MS Office Support


Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "Opening image file with Picture Manager from command line"
Thread Thread Starter Forum Replies Last Post
How to use Diskpart as Hard Disk Manager on command line FolloW Me Tips & Tweaks 4 22-02-2011 11:32 AM
Use Adobe Extension Manager from command line SoftWore Tips & Tweaks 1 12-07-2010 01:19 PM
How to add key command for opening file in uTorrent? Khajit Technology & Internet 6 25-06-2010 10:31 PM
Question about Windows XP Screen Saver, Power Manager and Command Line Interface Zeeman28a Operating Systems 3 18-05-2009 08:38 AM
.inf file will not run from the command line CHRITOPHER Windows XP Support 2 31-08-2007 01:53 AM


All times are GMT +5.5. The time now is 02:57 PM.