17 Aug
2004
17 Aug
'04
1:47 p.m.
(Sorry, wrong key-press) On Tue, 17 Aug 2004, Saulius Krasuckas wrote:
Or in a bash-awk code:
#!/bin/bash PATH_REG=tmp.reg PATH_BRANCH='HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Session Manager\Environment' AWK_APPEND_NPATH='{if (match($0,/^"PATH"=/)) sub(/"\r/, ";"ENVIRON["NPATH"]"\""); print}' NPATH='a:\\new\\path' ...
And this is kind of messy. But nevermind, I am sure I am one of those exceptional users, so.. Thanks for the feedback.