MF You may get a larger set of replies from
http://www.jiscmail.ac.uk/archives/excel-vb-discuss.html see the list of lists at http://www.jiscmail.ac.uk/archives/index.html JimB ----- Original Message ----- From: "MF" <[EMAIL PROTECTED]> To: <[email protected]> Sent: Wednesday, April 12, 2006 4:16 PM Subject: How do I execute Windows Explorer in Preview from a .bat? > Hi there, guys. > I'm new to the WIN-HOME list. > My salute to you, all. > Using Microsoft Windows XP Professional, Version 2002, Service Pack 2. > > I'm trying to send a command from a programming language, > (Visual Basic for Applications, under Excel), and have Windows > Explorer display a graphics file in Preview mode. > > I tried: > > "C:\WINDOWS\explorer.exe c:\the_path\the_file.emf" > > but this only makes Explorer open Paint Shop Pro with the graphic file > which is logical since this is what happens if I click on the graphic > file in an Explorer window. > > How do I tell Windows Explorer to use Preview with a file? > > TIA > > MF > > -- > ---------------------------------------- > To unsubscribe, mailto: [EMAIL PROTECTED] > Is your picture included in the Official Win-Home List Members Profiles Page? > http://www.besteffort.com/winhome/Profiles.html > If not, write to: [EMAIL PROTECTED] > > -- ---------------------------------------- To unsubscribe, mailto: [EMAIL PROTECTED] Is your picture included in the Official Win-Home List Members Profiles Page? http://www.besteffort.com/winhome/Profiles.html If not, write to: [EMAIL PROTECTED]
