I’m missing something. I’ve got to be close but I can’t figure it out.
waithidden cmd.exe /C echo “this is my new text” >> {(value “Path” of key “HKLM\SOFTWARE\IBM\ADSM\CurrentVersion\BackupClient” of registry as string & “\dsm.opt”)}
I’m trying to append a new line of text at the bottom of the file that’s located in that registry path + the file name.
maybe you need quotes around the curly brace b/c the path will have a space in it for Program Files?
waithidden cmd.exe /C echo “this is my new text” >> “{(value “Path” of key “HKLM\SOFTWARE\IBM\ADSM\CurrentVersion\BackupClient” of registry as string & “\dsm.opt”)}”
I just tried it with a similar expression on my system and it seemed to work fine… if you look in the agent log, does it give an error? Also, you might try to troubleshoot with the “Fixlet Debugger” to see if you action works…