Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

bat file to .... 1

Status
Not open for further replies.

Yogi39

Technical User
Joined
Jun 20, 2001
Messages
273
Location
CA
I need a bat file to send along with my e-mail(with an attached tiff) making the file assosiation between tif and paint.
As I'm sending this to recipients that are not too savy, I'm trying to make "opening Tiffs " as fool proof as possible.

Is this possible ?
 
This setting is held in the registry so you'll need to run a .reg file to update the appropriate bit.

I've just had a quick browse, and the location looks like HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.TIFF. The following is an export of this into a .reg file which I've just tried and it works for me so save this in Notepad as anything.reg and see if it works for you. Note that this is on Windows 2000 Pro, so if you're clients are using different a OS, you might need to modify it.

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.TIFF]
"Application"="mspaint.exe"

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.TIFF\OpenWithList]
"a"="mspaint.exe"
"MRUList"="a"


Cheers, Antony
 
Thanks !
:)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top