Oh. That's different. 

Write a VBScript that builds the string for you, and set it in the registry
that way.

My guess would be that you're gonna need either CHR(10) or CHR(13) as the
break.

--------------------------------------------------------------
Roger D. Seielstad - MTS MCSE MS-MVP
Sr. Systems Administrator
Inovis Inc.


> -----Original Message-----
> From: Fyodorov, Andrey FTL [mailto:[EMAIL PROTECTED] 
> Sent: Friday, February 20, 2004 11:01 AM
> To: Exchange Discussions
> Subject: RE: registry export/import question
> 
> 
> Oh sorry, I didn't mean the [ and ] chars. They are actually squares
> (non-printable characters) that represent carriage returns.
> 
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On 
> Behalf Of Roger
> Seielstad
> Sent: Friday, February 20, 2004 9:47 AM
> To: Exchange Discussions
> Subject: RE: registry export/import question
> 
> 
> Maybe then you need to escape the [ and ] chars with \ - IOW, \[text\]
> 
> --------------------------------------------------------------
> Roger D. Seielstad - MTS MCSE MS-MVP
> Sr. Systems Administrator
> Inovis Inc.
> 
> 
> > -----Original Message-----
> > From: Fyodorov, Andrey FTL [mailto:[EMAIL PROTECTED]
> > Sent: Friday, February 20, 2004 9:15 AM
> > To: Exchange Discussions
> > Subject: RE: registry export/import question
> > 
> > 
> > Thanks, the whole entry is actually quoted with "..."
> > 
> > 
> > 
> > -----Original Message-----
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] On
> > Behalf Of Roger
> > Seielstad
> > Sent: Friday, February 20, 2004 7:58 AM
> > To: Exchange Discussions
> > Subject: RE: registry export/import question
> > 
> > 
> > My guess is that you have to escape them, or quote them.
> > 
> > I'd bet that the app is what takes the [] and uses them as
> > line breaks, so
> > in the .reg file, you need to run them together as a single 
> > line. I'd also
> > suggest quoting the whole shmegegi.
> > 
> > Roger
> > --------------------------------------------------------------
> > Roger D. Seielstad - MTS MCSE MS-MVP
> > Sr. Systems Administrator
> > Inovis Inc.
> > 
> > 
> > > -----Original Message-----
> > > From: Fyodorov, Andrey FTL [mailto:[EMAIL PROTECTED]
> > > Sent: Thursday, February 19, 2004 4:07 PM
> > > To: Exchange Discussions
> > > Subject: OT: registry export/import question
> > > 
> > > 
> > > Hi all.
> > > 
> > > I have a registry key. It contains a REG_SZ value that contains 
> > > multiple
> > > lines:
> > > 
> > > Recipient - [Recipient]
> > > Sender - [Sender]
> > > Server - [ExchangeServer]
> > > 
> > > Warning to administrator: Company's anti-virus system has 
> detected a 
> > > virus.
> > > 
> > > 
> > > When viewed in Regedit, the lines are all written out in 
> one string 
> > > with [] symbols for line breaks.
> > > 
> > > If I export this key, the string is broken into separate lines in 
> > > the .reg file.
> > > 
> > > When I try to import this key, nothing gets imported.
> > > 
> > > Is there a way to import these line feeds?
> > > 
> > > Thanks in advance
> > > 
> > >   Andrey
> > > 
> > > _________________________________________________________________
> > > List posting FAQ:       http://www.swinc.com/resource/exch_faq.htm
> > > Web Interface: 
> > > http://intm-dl.sparklist.com/cgi-bin/lyris.pl?enter=exchange&t
> > ext_mode=&lang=english
> > To unsubscribe:         mailto:[EMAIL PROTECTED]
> > Exchange List admin:    [EMAIL PROTECTED]
> > To unsubscribe via postal mail, please contact us at:
> > Jupitermedia Corp.
> > Attn: Discussion List Management
> > 475 Park Avenue South
> > New York, NY 10016
> > 
> > Please include the email address which you have been contacted with.
> > 
> > _________________________________________________________________
> > List posting FAQ:       http://www.swinc.com/resource/exch_faq.htm
> > Web Interface: 
> > http://intm-dl.sparklist.com/cgi-bin/lyris.pl?enter=exchange&t
> ext_mode=&lang
> =english
> To unsubscribe:         mailto:[EMAIL PROTECTED]
> Exchange List admin:    [EMAIL PROTECTED]
> To unsubscribe via postal mail, please contact us at: 
> Jupitermedia Corp.
> Attn: Discussion List Management
> 475 Park Avenue South
> New York, NY 10016
> 
> Please include the email address which you have been contacted with.
> 
> _________________________________________________________________
> List posting FAQ:       http://www.swinc.com/resource/exch_faq.htm
> Web Interface:
> http://intm-dl.sparklist.com/cgi-bin/lyris.pl?enter=exchange&t
ext_mode=&lang
=english
To unsubscribe:         mailto:[EMAIL PROTECTED]
Exchange List admin:    [EMAIL PROTECTED]
To unsubscribe via postal mail, please contact us at: Jupitermedia Corp.
Attn: Discussion List Management
475 Park Avenue South
New York, NY 10016

Please include the email address which you have been contacted with.

_________________________________________________________________
List posting FAQ:       http://www.swinc.com/resource/exch_faq.htm
Web Interface:
http://intm-dl.sparklist.com/cgi-bin/lyris.pl?enter=exchange&text_mode=&lang
=english
To unsubscribe:         mailto:[EMAIL PROTECTED]
Exchange List admin:    [EMAIL PROTECTED]
To unsubscribe via postal mail, please contact us at: Jupitermedia Corp.
Attn: Discussion List Management
475 Park Avenue South
New York, NY 10016

Please include the email address which you have been contacted with.

_________________________________________________________________
List posting FAQ:       http://www.swinc.com/resource/exch_faq.htm
Web Interface:
http://intm-dl.sparklist.com/cgi-bin/lyris.pl?enter=exchange&text_mode=&lang
=english
To unsubscribe:         mailto:[EMAIL PROTECTED]
Exchange List admin:    [EMAIL PROTECTED]
To unsubscribe via postal mail, please contact us at:
Jupitermedia Corp.
Attn: Discussion List Management
475 Park Avenue South
New York, NY 10016

Please include the email address which you have been contacted with.

_________________________________________________________________
List posting FAQ:       http://www.swinc.com/resource/exch_faq.htm
Web Interface: 
http://intm-dl.sparklist.com/cgi-bin/lyris.pl?enter=exchange&text_mode=&lang=english
To unsubscribe:         mailto:[EMAIL PROTECTED]
Exchange List admin:    [EMAIL PROTECTED]
To unsubscribe via postal mail, please contact us at:
Jupitermedia Corp.
Attn: Discussion List Management
475 Park Avenue South
New York, NY 10016

Please include the email address which you have been contacted with.

Reply via email to