Delete command using relevance substitution

(imported topic written by nberger91)

why does

delete “C:\Program Files (x86)\BigFix Enterprise\BES Client\test.txt”

in action script but not this

delete “{pathname of parent folder of regapp “besclient.exe”}\test.txt”

wierd ??

(imported comment written by BenKus)

seems like it works to me… what error do you get?

Ben