how to escape newline

  • Thread starter Thread starter GS
  • Start date Start date
G

GS

to use reg add with reg_multi_sz value I need to escape newline. how could I
do that in DOS?


for example
reg add "Line1\somerootkey' /v somekey /t reg-multi_sz "line1
line2
line3"
should be what?
 
GS said:
to use reg add with reg_multi_sz value I need to escape newline. how could I
do that in DOS?


for example
reg add "Line1\somerootkey' /v somekey /t reg-multi_sz "line1
line2
line3"
should be what?
 
GS wrote :
to use reg add with reg_multi_sz value I need to escape newline. how could I
do that in DOS?

Read the help message for the add command - i.e. "reg add /?".

The default is to use "\0" as a separator, but this can be changed
using the "/s" argument.
 
rem -- hit ENTER after each line
rem Try this:

echo line1^
More? line1^
More?
More? line2^
More?
More? line3
line1 line1
line2
line3

rem Good Luck


George Valkov


|
| | > to use reg add with reg_multi_sz value I need to escape newline. how
could
| I
| > do that in DOS?
| >
| >
| > for example
| > reg add "Line1\somerootkey' /v somekey /t reg-multi_sz "line1
| > line2
| > line3"
| > should be what?
| >
| >
|
|
 
Back
Top