Give Win Explorer a hint to graphics files w/o extensions?

 
Thread Tools Search this Thread
Special Forums Windows & DOS: Issues & Discussions Give Win Explorer a hint to graphics files w/o extensions?
# 1  
Old 02-20-2010
Give Win Explorer a hint to graphics files w/o extensions?

All:

Benjamin Fournier wrote a plug-in for the graphics application PhotoFiltre Studio that inspired me, since I also happen to use the XnView Shell Extension and have seen what it can do, to look into the possibility of getting Windows XP Pro SP3's Explorer file navigator to "hazard a guess at" the format of a file making use of a dll file which contains the same data used by the aforementioned shell extension. Is there some sort of patch, bridge file, or service enabler that would allow XP to do this?

Where would this be useful? Think Thumbnail mode or the automatic preview available to the right of the list and icon modes etc., when a file is selected.

FYI for those who've never used it: the XnView Shell Extension does look inside a file you right-click on; if it happens to find image-format data at or near the top of the codestream, it will look further and cull as much information as it can, even an EXIF thumbnail should one be present, to display in its "block" of the Windows Explorer context menu.

Is there some way to enable XP to do the same when this .dll is situated in the right location? Right now my only copy is next to M. Fournier's extension in the plugins folder for PhotoFiltre Studio, but I could certainly copy it or extract a freshly-downloaded copy to any other place required.

Hope someone can suggest something.

BZT
# 2  
Old 02-20-2010
Certainly it's possible for Internet Explorer to try and guess file data without file extensions -- several gaping security holes have been through exploiting this mechanism in the past. feed it a windows media file with a jpg extension and it would blithely ignore the MIME type and extension and try to process it as windows media, and eventually execute arbitrary code stored in it.
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Mv all files with different extensions to a new name

Hello all! I want to move several files foo.aux foo.log foo.pdf foo.tex to bar_foo.aux bar_foo.pdf bar_foo.tex I am on tcsh % mv foo.* bar_!#:1 is not working. Thank you for your help marek (11 Replies)
Discussion started by: marek
11 Replies

2. Shell Programming and Scripting

looping through files with different extensions

Hi all, I am trying to make a for loop invoking files with different extensions (*.ugrd and *.vgrd) and I cant just make it work. Cant figure out how to load the files so as to use them in subsequent commands like the ones in this pseudo code. the files are arranged such that in one date for... (8 Replies)
Discussion started by: ida1215
8 Replies

3. OS X (Apple)

[Solved] links2 --enable-graphics from source, configure error: no graphics driver found.

Howdy I am trying to install links2 with graphics support on snow leopard 10.6.8 (xcode installed). I have had the program running last year, also installed from source - but then I had installed some image libraries with mac ports and fink - cannot reproduce that setup. Plus I would like to not... (6 Replies)
Discussion started by: butterbaerchen
6 Replies

4. Shell Programming and Scripting

Give extensions to files which do not have an extension

HI, I have a bunch of files on my Linux system which do not have a file name extension in them. I want to process them with "sed" (using loop) but can't do so. Is there any way to give an extension to files which have no extension in them in Linux? Currently files are like this: cat dog... (1 Reply)
Discussion started by: shoaibjameel123
1 Replies

5. Shell Programming and Scripting

Rename files extensions

Hello ! i have a few files like ... setup.001 setup.002 setup.003 setup.004 // to setup.095 and i would like to rename those files to ... setup.r01 setup.r02 setup.r03 setup.r04 // to setup.r95 (7 Replies)
Discussion started by: Putazo
7 Replies

6. Shell Programming and Scripting

Sorting Files according to their Extensions...

I am trying to write a Korne Shell Script wherein we have to sort files according to their extensions(for eg. 1.sh, 5.sh, 9.sh together; 4.csh, 120.csh, 6.csh together and 7.ksh, 2.ksh, 59.ksh together) and move them to their respective directories viz. sh, csh and ksh... I think,... (1 Reply)
Discussion started by: marconi
1 Replies

7. Shell Programming and Scripting

Find files with 3 different extensions

Hi all, From one directory I need to fetch only files of type *.xls,*.csv,*.txt. I tried the find . -name '*.txt,*.csv,*.xls' -print. But it throws me error. Please do help me on this. Thanks Mahalakshmi.A (11 Replies)
Discussion started by: mahalakshmi
11 Replies

8. UNIX for Dummies Questions & Answers

List Files by Extensions

I have a unix directory with 500 plus files . When I do a ls -lR I can see ALL the files here . How can I sort this by the files extensions ? I can't enter ls -lR *.ext1 *.ext2 *.ext3 etc in case I miss out some files . (2 Replies)
Discussion started by: newbienix
2 Replies
Login or Register to Ask a Question