May 21, 200422 yr What is the plainest way to strip "HIDE" keyword from sysoc.inf using cmd.exe?Also, at what time would you do it? Before or after XPC?Thank you.
May 22, 200422 yr I would guess a for loop, looking for lines that have the word hide, and then you should know it is between the nth and nth+1 comma. FOR, FINDSTR, TOKENS, DELIMS are the things to adjust ... I dunno: I just leave 'em hdden!
May 22, 200422 yr Author Ok I'd expected that.I'll try to do it before xpc and remove.I dunno: I just leave 'em hdden!You lazy boy! BTW do you like my new avatar? The other one was too aggrssive. This one's much more like I feel
May 22, 200422 yr Lazy indeed ... i did remove the hidden once, and it did nothing ofr me, 'cept mess upi Add/Remove Programs. You can still pick using Components in WINNT.SIF.My opinion: do it before XPCREATE: It never checks those files.Yes, looks kind of like the Funky Chicken from years ago ...
May 22, 200422 yr Author My opinion:I always value your opinion.do it before XPCREATE: It never checks those files.actually some slipstreming changes sysoc.infplain cd and after xpc are differentthe newer one hasDriverVer=07/01/2001,5.1.2600.1106instead of DriverVer=07/01/2001,5.1.2600.0andWMAccess=ocgen.dll,OcEntry,wmaccess.inf,,7OEAccess=ocgen.dll,OcEntry,oeaccess.inf,,7WMPOCM=ocgen.dll,OcEntry,wmpocm.inf,,7TabletPC=tabletoc.dll,TabletSetupProc,Tabletpc.inf,HIDE,7that the original doesn't have.I'll save the HIDE the modifications in a file and inject them in the source before XPC runs. We'll see if it works.Thank you
May 22, 200422 yr My guess would be that the Service Pack updates the driver version number: XPCREATE only touches SVCPACK.INF, DOSNET.INF and TXTSETUP.SIF (if SATA added).As for your HIDE thing, it looks like HIDE is always the same place in each string, which simplifies a programmed replacement ...
May 22, 200422 yr Author My guess would be that the Service Pack updates the driver version number: XPCREATE only touches SVCPACK.INF, DOSNET.INF and TXTSETUP.SIF (if SATA added).AgreeAs for your HIDE thing, it looks like HIDE is always the same place in each string, which simplifies a programmed replacement ...Ok, I'll do the things the right way
May 22, 200422 yr Author Ehm, please sensei, can I use the 4nt to accomplish the task?I just found how to use it w/out installing it! geez I was really bored of cmd!anyway, about "the right way", I wasted so much time in my life trying to do things in the right way, with the result of completing very few things...now I seek a therapy of doing things "un po' a cazzo" which means ehr... as it comes, more or lessI'm unoccupied these months, but I wonder where do people who produce so much for the communities on the net find the time to do so many things!You are one of them for example!
May 22, 200422 yr 4nt? I must be missing something. But now that you mention it, there are certainly 'Search and Replace" programs available, even for DOS. I may have to look into that myself: I am having a similar fight with the command prompt these days ..."un po' a cazzo" ? I think it French that might be like "N'import de quoi!" I've spent much to much time correcting thigs that where not done the right way the first time.
May 22, 200422 yr Too many trees to see the forest ...I've been lost in FINDSTR trying to fix up SATA driver INF files. This gsar routine sounds like what both of us need (though I did hack together a bunch of commands to achieve what I needed.)gsar110.zip
May 24, 200422 yr Author IF EXIST *.LOG DEL /F /Q *.LOGThi is very UNPOLITE from your xpc!My log was getting deleted halfway :\I used to mantain a variable holding the names of my temp files to do garbage collection at the end of procedures.Anyway, I'll rename my logfiles. (I do have variables to hold their names )
May 24, 200422 yr Author IF EXIST *.SIF DEL /F /Q *.SIFIF EXIST *.INF DEL /F /Q *.INFAlso this is very nasty!Why didn't you use the temp folder and variables for filenames!?
May 24, 200422 yr ****, gotta be careful with this Open Source stuff: you never know who's toes you are stepping on!OK, cyberchicken, riddle me this: If you have such good programming techniques, why aren't you putting your files in the CHICKEN directory: I never touch that!(Most) every line of that code has a "raison d'etre". You are invited to look, and hopefully learn, but I need to be paid quite a lot before I justify those reasons!That said, I did remove the wildcards, for a future release ...
May 24, 200422 yr Very few people can stand to be in paid "Support" positions for long, yet here is GreenMachine doing it for free with grace and humor! We can only hope that his patience holds out.
Create an account or sign in to comment