+ Post New Thread
Results 1 to 3 of 3
Scripts Thread, file association in Coding and Web Development; This will sort out file association for jpg, bmp and jpeg. - Windows Picture & Fax Viewer there may be ...
  1. #1

    Join Date
    Apr 2009
    Posts
    35
    Thank Post
    13
    Thanked 8 Times in 6 Posts
    Rep Power
    13

    file association

    This will sort out file association for jpg, bmp and jpeg. - Windows Picture & Fax Viewer

    there may be a better way to do it but i find this very simple and very effective.

    works well with a .bat

    regedit.exe /s \\Server\softwarerollout$\Scripts\file_association \fileass_bmp.reg
    regedit.exe /s \\Server\softwarerollout$\Scripts\file_association \fileass_jpg.reg
    regedit.exe /s \\Server\softwarerollout$\Scripts\file_association \fileass_jpeg.reg

    let me know if it works for you
    Attached Files Attached Files

  2. 3 Thanks to marc2510:

    dwhyte85 (24th February 2010), ICT_GUY (24th February 2010), mark (24th February 2010)

  3. #2
    dwhyte85's Avatar
    Join Date
    Mar 2009
    Location
    Berkshire
    Posts
    1,219
    Thank Post
    159
    Thanked 147 Times in 132 Posts
    Rep Power
    103
    Good post

  4. #3

    Join Date
    Apr 2009
    Posts
    35
    Thank Post
    13
    Thanked 8 Times in 6 Posts
    Rep Power
    13
    Quote Originally Posted by dwhyte85 View Post
    Good post
    this is another way to do it, and it will give u a option of "a b c" etc

    this helps if you have a list of differnt apps you would like it to open from depending on the pcs




    Code:
    Windows Registry Editor Version 5.00
    
    [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.jpg]
    "Application"="OIS.EXE"
    
    [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.jpg\OpenWithList]
    "a"="OIS.EXE"
    "MRUList"="abc"
    "b"="mspaint.exe"
    "c"="OIS.EXE"
    
    [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.jpg\OpenWithProgids]
    "jpegfile"=hex(0):
    "rundll32.exe %SystemRoot%\\system32\\shimgvw.dll,ImageView_Fullscreen "=hex(0):
    "rundll32.exe %SystemRoot%\\system32\\shimgvw.dll,ImageView_Fullscreen"=hex(0):
    @=hex(0):

SHARE:
+ Post New Thread

Similar Threads

  1. RM CC3 file association for office 2003
    By graywoodford in forum Network and Classroom Management
    Replies: 2
    Last Post: 22nd January 2010, 10:27 AM
  2. Word 2003 / Word 2007 .doc file association problem
    By noser in forum Office Software
    Replies: 10
    Last Post: 5th January 2010, 09:39 PM
  3. .swf file association
    By NeoPlosive in forum Windows
    Replies: 3
    Last Post: 13th March 2009, 11:48 PM
  4. XP File Association
    By Simcfc73 in forum Windows
    Replies: 4
    Last Post: 4th December 2008, 03:39 PM
  5. Change File Association
    By Newton in forum Windows
    Replies: 9
    Last Post: 11th July 2008, 08:46 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •