On Thu, 2003-09-04 at 10:37, [EMAIL PROTECTED] wrote:
> > Well, I was under the impression that windows decided how to handle a
> > program based on the extension; i.e., if you call a .jpg a .blah, even
> > though it has photoshop installed on the machine, it will choke and say it
> > doesn't know how to open a .blah file.
> 
> Yes... Winders will use the extension to determine what app gets to open
> the file. It always amuses me how different applications will compete to
> become the default app and the warnings that tell you that bad things will
> happen if you change from the (usually) MS defaults.
> 
> > Maybe if you renamed the .jpg to .tif though, you could get the photoshop
> > program to open and then it would take over and decide to display the
> > image correctly?
> 
> Depends somewhat on the application. Some of them will inspect the header
> of the file to make sure that it's correct. Others will blindly attempt to
> load the data file.
> 
> > In my short research on google, I read that a pif was similar to a bat
> > file; can a bat file contain compiled code also?
> 
> True PIF files contain information on how to run a program. It was mostly
> used in early versions of Windows for running DOS mode programs.

intresting point here.  your statement is correct but it actually
contains a warning (the binary) that it can't run in DOS mode *grin*
> 
> A bat file can contain compiled code, but not in the usual sense. You can
> encode a binary file into a .bat and then use the bat to write a binary
> and then execute it. This is actually pretty common on Linux, but is
> possible on Windows.
> 
> 
> ______________________________________________________________________
> Want to buy your Pack or Services from MandrakeSoft? 
> Go to http://www.mandrakestore.com


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to