Talk:ConfigWrite: Difference between revisions
No edit summary |
Instructor (talk | contribs) No edit summary |
||
Line 24: | Line 24: | ||
;$R0=CHANGED | ;$R0=CHANGED | ||
SectionEnd | SectionEnd | ||
Why not just try :) Looks not so well (reflected not for files with identical keys), but should work. | |||
<highlight-nsis> | |||
Section | |||
${ConfigWrite} "C:\config.sys" "device=c:\windows\himem.sys" " /testmem:off" $R0 | |||
;$R0=CHANGED | |||
SectionEnd | |||
Section | |||
${ConfigWrite} "C:\config.sys" "device=c:\windows\EMM386.EXE" " NOEMS" $R0 | |||
;$R0=CHANGED | |||
SectionEnd | |||
Section | |||
${ConfigWrite} "C:\config.sys" "deviceHIGH=c:\windows\SETVER" ".EXE" $R0 | |||
;$R0=CHANGED | |||
SectionEnd | |||
</highlight-nsis> |
Revision as of 16:36, 2 August 2005
CONFIG.SYS >
device=c:\windows\himem.sys /testmem:off device=c:\windows\EMM386.EXE NOEMS dos=high,umb files=80 deviceHIGH=c:\windows\SETVER.EXE deviceHIGH=c:\windows\COMMAND\display.sys con=(ega,,1) Country=090,857,c:\windows\COMMAND\country.sys
I need to change config.sys like above but there are two keys device so is it work if i simply call function as
Section ${ConfigWrite} "C:\config.sys" "device=c:\windows\himem.sys " " /testmem:off" $R0 ;$R0=CHANGED SectionEnd
Section ${ConfigWrite} "C:\config.sys" "device=c:\windows\EMM386.EXE " " NOEMS" $R0 ;$R0=CHANGED SectionEnd Section ${ConfigWrite} "C:\config.sys" "deviceHIGH=c:\windows\SETVER" ".EXE" $R0 ;$R0=CHANGED SectionEnd
Why not just try :) Looks not so well (reflected not for files with identical keys), but should work.
Section ${ConfigWrite} "C:\config.sys" "device=c:\windows\himem.sys" " /testmem:off" $R0 ;$R0=CHANGED SectionEnd Section ${ConfigWrite} "C:\config.sys" "device=c:\windows\EMM386.EXE" " NOEMS" $R0 ;$R0=CHANGED SectionEnd Section ${ConfigWrite} "C:\config.sys" "deviceHIGH=c:\windows\SETVER" ".EXE" $R0 ;$R0=CHANGED SectionEnd