Skip to content
View in the app

A better way to browse. Learn more.

MSFN

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Stripping HIDE from sysoc.inf

Featured Replies

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.


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!

  • 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! :):D

BTW do you like my new avatar? The other one was too aggrssive. This one's much more like I feel :rolleyes:

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 ...

  • Author
My opinion:
I always value your opinion.
do it before XPCREATE: It never checks those files.

actually some slipstreming changes sysoc.inf

plain cd and after xpc are different

the newer one has

DriverVer=07/01/2001,5.1.2600.1106

instead of

DriverVer=07/01/2001,5.1.2600.0

and

WMAccess=ocgen.dll,OcEntry,wmaccess.inf,,7
OEAccess=ocgen.dll,OcEntry,oeaccess.inf,,7
WMPOCM=ocgen.dll,OcEntry,wmpocm.inf,,7
TabletPC=tabletoc.dll,TabletSetupProc,Tabletpc.inf,HIDE,7

that 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

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 ...

  • 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).
Agree
As 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 :)

  • 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 less

I'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!

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.

  • Author

IF EXIST *.LOG DEL /F /Q *.LOG

Thi 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 :))

  • Author

IF EXIST *.SIF DEL /F /Q *.SIF
IF EXIST *.INF DEL /F /Q *.INF

Also this is very nasty!

Why didn't you use the temp folder and variables for filenames!?

****, 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 ...

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

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.