Re: SecEdit INF format
From: Roger Abell [MVP] (mvpNoSpam_at_asu.edu)
Date: 01/13/05
- Previous message: jeff.allen_at_pikatech.com: "Re: can't get new or renew certs from exchange only after root ca cert expired"
- In reply to: EdT: "Re: SecEdit INF format"
- Next in thread: EdT: "Re: SecEdit INF format"
- Reply: EdT: "Re: SecEdit INF format"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Thu, 13 Jan 2005 09:32:48 -0700
"EdT" <etippelt@gmail.com> wrote in message
news:1105521861.129366.39410@z14g2000cwz.googlegroups.com...
> Thanks Roger.
> I am a relative newbie in the area of vbscripting. How can I test if
> the file is an ASCII or a Unicode file in vbscript? Our INF files can
> come in both flavours although I am trying to get things standardised
> to ASCII.
No real clue, but if you open as ASCII and it is not then you do
not have ability to readlines correctly - no doubt you can evolve
a simple test.
Const ForRead = 1
Const ForWrite = 2
Const OverwriteIfExist = -1
Const OpenAsASCII = 0
Const OpenAsDefault = -2
Const FilePreserve = False
sInFile = " . . . spec . . . "
Set oInFile = oFso.OpenTextFile(sInFile,ForRead,FilePreserve,OpenAsDefault)
Handles the file for you whether ASCII or Unicode
> We are trying to automate a lot of our packaging workflows, and as well
> have a number of different domains serving our 30,000 users, we have
> had to automate the creation of the security INF file and also automate
> the update of the SIDS in the INF file as packages are deployed to
> different domains.
I find I can write SCE template files without regard to whether they
result in ASCII or Unicode and they can still be used. The sceregvl.inf
however I always leave as Unicode.
> It would be helpful if you could confirm whether the [Unicode] section
> can be dropped from an ASCII file, or whether it should be set to
> Unicode = No
> Is this documented anywhere? I have searched through the Platform SDK
> and DDK documentation without finding anything conclusive
>
I have never seen this doc'd, never looked for it, and never seen
this set to anything else.
-- Roger Abell Microsoft MVP (Windows Server System: Security) MCDBA, MCSE W2k3+W2k+Nt4
- Previous message: jeff.allen_at_pikatech.com: "Re: can't get new or renew certs from exchange only after root ca cert expired"
- In reply to: EdT: "Re: SecEdit INF format"
- Next in thread: EdT: "Re: SecEdit INF format"
- Reply: EdT: "Re: SecEdit INF format"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|