Check the manual for the Kixtart macros, then you'll find @USERID. So, the modified code would be
code:
if not exist('C:\Program Files\Microsoft Office\Office\MSACCESS.EXE')
copy 'c:\sometextfile.txt' '\\server\share\'+@USERID+'.txt'
endif

You might also want to look up ExpandEnvironmentVars() in the manual. It comes in handy sometimes.

[ 11 June 2002, 21:36: Message edited by: sealeopard ]
_________________________
There are two types of vessels, submarines and targets.