OCedHrt Posted November 15, 2004 Share Posted November 15, 2004 (edited) I wrote a program that parses an inf file somewhat and finds the files referenced under SourceDisksFiles. I'm not sure how accurate that would be, but it copies the referenced files, inf, and cat to another directory.It's a console program, but seems to require .NET. If anyone knows how to manipulate directories without using .NET or even Windows API please let me know XD.Let me know about any problems. I only have so many drivers to test with, plus I'm not formatting any time soon. I really need someone to test install these and see if it gets all the needed files.For those who don't want to install .NET, the 2 dlls below seems to be the ones it needs. I haven't actually tried this.mscorlib.7zmscoree.7zSynatx: inf.exe driver.inf {dest}dest defaults to Temp in the current directory.Current features:1. Maintains necessary directory structure.Planned features:1. Parse more than one inf at a time. Maybe something like all infs in given directory.2. User interaction if no arguments on command line. Edited November 20, 2004 by OCedHrt Link to comment Share on other sites More sharing options...
Bilou_Gateux Posted November 16, 2004 Share Posted November 16, 2004 Good idea but using .NET Framework ( 20 Mb download) to run a small console tool isn't good for me. Link to comment Share on other sites More sharing options...
OCedHrt Posted November 17, 2004 Author Share Posted November 17, 2004 So it does need .NET then? I think at most it only needs 1 dll file, but I can't test it because I do have .NET installed. The only part that may require .NET are calls to functions under SYSTEM::IO. I'm not too sure if that is under .NET since it is all new to me. It may just need mscorlib.dll. About 500kb compressed, I can send it if anyone is interested. Link to comment Share on other sites More sharing options...
Astalavista Posted November 17, 2004 Share Posted November 17, 2004 cool, thanks!got to give this a try. Link to comment Share on other sites More sharing options...
Bilou_Gateux Posted November 17, 2004 Share Posted November 17, 2004 Your tool query mscoree.dll not in path ?May be can you post a link to download only this dll and dependencies and i will have a second try. Link to comment Share on other sites More sharing options...
OCedHrt Posted November 18, 2004 Author Share Posted November 18, 2004 #using <mscorlib.dll>Thats all it is.mscorlib.7zmscoree.7zGive that a try.Update: Added mscoree.dll.Would be better if someone could tell me how to create directories w/o using .NET or even the Windows API. I can copy files by creating streams, but directories..no idea. Link to comment Share on other sites More sharing options...
OCedHrt Posted November 21, 2004 Author Share Posted November 21, 2004 So, any comments? Does it work? Link to comment Share on other sites More sharing options...
Bilou_Gateux Posted January 21, 2005 Share Posted January 21, 2005 hp38guser has written a batch file which do the same + add compression without having to install some dlls or full .NETDriver Compressor Link to comment Share on other sites More sharing options...
Bailey Posted January 21, 2005 Share Posted January 21, 2005 This app doesn't work. It just hangs. I have .NET installed but I also tried it with the 2 dlls in the inf.exe dir. I checked different inf's with and without target dirs. It just hangs... Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now