hi,
i guess i have the same problem as airwolf.
when i run a program (a compiled .au3 script) with the runasset userid and there are macros in the program like @logonserver the macro is not passed to the runasset user.
example:
MsgBox(0, "logonserver for " & @UserName & ":", @LogonServer)
; user is the runasset user
DirCopy(@LogonServer & "\somefolder\someotherfolder", @ProgramsCommonDir & "\somefolder\someotherfolder", 1)
@username is the runasset user, @logonserver is empty... but the macro @programscommondir is set correctly.
any ideas?