CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
Search Posts SEARCH
Who's Online WHO'S
Log in LOG

Home: Perl Programming Help: Advanced:
searching binary files by their version


New User

Mar 12, 2008, 4:06 AM

Post #1 of 1 (1264 views)
searching binary files by their version Can't Post

hi all,

suppose I have a directory with lots of levels of subdirectories within that. any of the sub directory may contain .exe and .dll files. different directories may contain dlls and exe's with same name but they differ in their versions. now i want to write a perl script that can search a dll or exe with a given name having a particular version. for example..

lets there is a directory "root" with 4 subdir a,b,c,d. all of them contain a dll file named "myfile.dll", the versions are say as follows

directory dll name version

a myfile.dll 1.1.0

b -do- 1.1.1

c -do- 1.1.2

d -do- 1.1.3

now I give as an input to my script "myfile.dll" and "1.1.2" then it shoud return me the myfile.dll file of directory "C"

I hope this is clear to u all..

waiting for your replies



Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives