Move Appendfile using Registry Values

(imported topic written by Edj)

I am attempting to move the appendfile using registry entry values and am running into issues. I have used the following methods to no avail:

move _appendfile “{value “installdir” of key “HKEY_LOCAL_MACHINE\SOFTWARE\Altiris\Altiris Agent” of registry as string}\Software Delivery{01B54EB5-3679-4C73-9E10-E169D5A5EC59}}\cache\BigfixINV.cmd”

move _appendfile “{value “installdir” of key “HKEY_LOCAL_MACHINE\SOFTWARE\Altiris\Altiris Agent” of registry as string}\Software Delivery{01B54EB5-3679-4C73-9E10-E169D5A5EC59}\cache\BigfixINV.cmd”

move _appendfile (value “installdir” of key “HKEY_LOCAL_MACHINE\SOFTWARE\Altiris\Altiris Agent” of registry as string & “\Software Delivery{01B54EB5-3679-4C73-9E10-E169D5A5EC59}\cache\BigfixINV.cmd”)

Could someone please point me in the right direction?

Thanks,

EdJ

(imported comment written by Marjan23)

Ed,

From the code you provided above the problem seems to be in having just one underscore in front of the word appendfile. The file that is created when using the appendfile command is actually __appendfile (note the 2 underscores before the word appendfile). So try this:

move __appendfile “{value “installdir” of key “HKEY_LOCAL_MACHINE\SOFTWARE\Altiris\Altiris Agent” of registry as string}\Software Delivery{01B54EB5-3679-4C73-9E10-E169D5A5EC59}}\cache\BigfixINV.cmd”

Hope that helps,

Marjan

(imported comment written by Edj)

Marjan,

Thank you.

It seems that the simplest solutions are often overlooked.

Edj