Re: any script to find renamed wmf files?




~greg wrote:
> found a description of Microsoft Windows Metafile format.
> here:
>
> http://www.whisqu.se/per/docs/wmf.htm
>
>
> However I don't know exactly what shimgvw.dll
> (or gdi32.dll, or whatever else is inovlved)
> is looking for that makes it decide
> that a .jpg or .gif is really a .wmf,
> and then "run" it.
>
>
> ------------------------------------------
>
>
> "~greg" <g_m@xxxxxxxxxxxxxxxxxx> wrote in message news:ZNSdnXTr08wzwCTeRVn-jw@xxxxxxxxxxxxxx
> >
> > A whole lot of people right now, running Windows,
> > need a script to check all the image files already on their
> > hard drives to see if any of them are actually renamed .wmf files.
> >
> > It should be trivial to write this,
> > -if you know what to look for in the files.
> >
> > Unfortunately, I don't.
> >
> > ~
> >
> > (i ask this here, because perl is my preferred language,
> > and because i think perl users in general may be
> > more familiar with looking inside files
> > to determine actual file type (?))
> >
> >
> >
> >
> >
> >
> >
> >
> >
I am afraid that you have completely missed the point of this whole wmf
issue:
Your existing wmf files are ok if your Windows has not already been
infected. The bad ones come from outside. So the work-around never
calls for renaming files. Instead you unregister the dll file.
Perl won't help you for that matter.

.



Relevant Pages

  • Re: GUI and Rapid Application Development?
    ... Most simple applications that I dealt with did not need the use of API ... I imagine Perl is faster, ... my Perl scripts are more compact ... Chirag> in Windows that could run on Windows 98 through 2003. ...
    (comp.os.linux.misc)
  • Re: ping Purl Gurl? Beginner Level Perl
    ... Purl Gurl wrote: ... If you are to learn Perl, ... Windows machines is good motivation for using Win. ...
    (alt.usage.english)
  • Re: My Regexp XML Parser -> Structured Perl Data, Cut & Paste Version, No Modules (Vol I)
    ... On Windows NT and later, subprocesses are now started via ``cmd /x/d/c'' ... Perl for ISAPI would sometimes close a filehandle twice. ...
    (comp.lang.perl.misc)
  • Re: Unix commands
    ... ==> writing the program in Perl, ... ==> program that had to be ported to Windows. ... After installing a Unix toolkit the script ... And every other common Unix tool. ...
    (comp.lang.perl.misc)
  • Re: Unix commands
    ... I don't recall ever writing a program that needed to trawl through ... All the Perl programs ... I'm not going to worry whether my tool is going to be run on Windows. ... // Actually many times I've ported my programs and tools to Unix too! ...
    (comp.lang.perl.misc)

Loading