Results 1 to 10 of 10

Thread: File extensions

  1. #1
    5 Star Lounger
    Join Date
    Feb 2001
    Location
    Dallas plus 20 miles or so, Texas, USA
    Posts
    876
    Thanks
    0
    Thanked 0 Times in 0 Posts

    File extensions

    After installing ProcommPlus a while back, the image viewer in it took over all of my bitmaps. I have been trying to re-associate the bmp extension with MSPaint. I have changed everything that I can think of in My Computer/View/FileTypes, but I get the following message when I double click on a bitmap file...
    Attached Images Attached Images

  2. #2
    Super Moderator
    Join Date
    Dec 2000
    Location
    Renton, Washington, USA
    Posts
    12,560
    Thanks
    0
    Thanked 4 Times in 4 Posts

    Re: File extensions

    Open Windows Explorer or My computer and find a "bmp" file. Right click it, and select "Open with" , and when the "program selection list" appears select MS Paint and make sure that the "Always use box is checked.
    Hope this helps.

    Now running HP Pavilion a6528p, with Win7 64 Bit OS.

  3. #3
    5 Star Lounger
    Join Date
    Feb 2001
    Location
    Dallas plus 20 miles or so, Texas, USA
    Posts
    876
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: File extensions

    Well, I tried that before the MyComputer/View/File Types method...trouble is I do not have an "Open with" option in the right click menu, only "Open". Any idea about how to get the "Open With" option back?

  4. #4
    2 Star Lounger
    Join Date
    Jan 2001
    Location
    Rothesay, New Brunswick, Canada
    Posts
    135
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: File extensions

    If you don't have the "open with" option on your right click, select the file then hit shift f10. Then you'll have it.
    Good luck.
    Jack

  5. #5
    5 Star Lounger
    Join Date
    Feb 2001
    Location
    Dallas plus 20 miles or so, Texas, USA
    Posts
    876
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: File extensions

    Thanks Jack, that gave me the "Open With" right click option, but I still get the same error message about "My.bmp". Any other suggestions?

  6. #6
    Star Lounger
    Join Date
    Jan 2001
    Posts
    68
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: File extensions

    It could be that the association is missing the quotes around the parameter. They are important when there is a blank in the file path (like the one in "My Documents"). The command line should look like:

    C:...Paint "%1"

    When you double click on a file, the path to the file is substituted for the %1. Suppose the file is "C:My DocumentsTest.BMP". If the quotes are missing from the association, the resulting command line looks like:

    C:...Paint C:My DocumentsTest.BMP

    and the program tries to open TWO files: "C:My" and "DocumentsTest.BMP" The first file doesn't have an extension, so the program supplies a default (BMP). Since "C:My.BMP" doesn't exist, you get an error.

    To confirm this, copy a graphic file into a directory with no blanks in the path (like C:WindowsTemp or C and change the name so there are no blanks in it (e.g., c:test.bmp). If my guess is correct, this test file will open correctly.

  7. #7
    5 Star Lounger
    Join Date
    Feb 2001
    Location
    Dallas plus 20 miles or so, Texas, USA
    Posts
    876
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: File extensions

    You are indeed correct, the file opens properly when moved to the Windows/Temp directory. However, when I place the "%1" after the path in the edit box, I am told that the path and filename do not exist. See below...
    Attached Images Attached Images

  8. #8
    Star Lounger
    Join Date
    Jan 2001
    Posts
    68
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: File extensions

    There needs to be a space between the program path and the parameters....

    "c:...paint.exe" "%1"

  9. #9
    5 Star Lounger
    Join Date
    Feb 2001
    Location
    Dallas plus 20 miles or so, Texas, USA
    Posts
    876
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: File extensions

    Thanks, that worked great!

  10. #10
    5 Star Lounger
    Join Date
    Mar 2002
    Location
    Buenos Aires, Argentina
    Posts
    877
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: File extensions

    Didn't know about shift+F10. Another way to get the Open With menu is right clicking on a file while holding shift. The file must be selected before you actually right click on it (must have the blue highlight files get when you click on them).
    <img src=/w3timages/blue3line.gif width=33% height=2>
    <img src=/S/flags/Argentina.gif border=0 alt=Argentina width=30 height=18> <big><font color=4682b4><font face="Comic Sans MS">Diegol</font face=comic></font color=4682b4> </big>

Posting Permissions

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