OK.. what about this.

copy '\\server\share\folder\hotfix1' '\\'+$computer+'\c$$\temp\hotfix1'
copy '\\server\share\folder\hotfix2' '\\'+$computer+'\c$$\temp\hotfix2'

fnRunOnceEx("001","Installing hotfix 1","c:\temp\hotfix1\some.exe",$computer)
fnRunOnceEx("002","Installing hotfix 2","c:\temp\hotfix2\some.exe",$computer)
fnRunOnceEx("003","cleaning up hotfix 1","cmd /c rd c:\temp\hotfix1\",$computer)
fnRunOnceEx("004","cleaning up hotfix 2","cmd /c rd c:\temp\hotfix2\",$computer)

Does this exec under system context, or user context upon reboot

or does it even auto exec on restart, or do you have to call Shell "rundll32.exe iernonce.dll,RunOnceExProcess"

[ 02. April 2003, 22:08: Message edited by: Radimus ]
_________________________
How to ask questions the smart way <-----------> Before you ask