create table memotest1 ( cfilename c(50), m1 m nocptrans ) append blank lcfile = "C:\My Documents\apollo 11 flag.jpg" replace cfilename with justfname( lcfile ), m1 with filetostr( lcFile ) append blank lcfile = "C:\WINDOWS\Desktop\Clear 10 Hurdles to Web Services Success.eml" replace cfilename with justfname( lcfile ), m1 with filetostr( lcFile ) scan strtofile( m1, justfname( cFileName ) ) endscanthe code above will copy the file into the memo and then write them back out to the current directory. After running it I can double click the two new files. The JPG properly opens in IE and the EML opens up in the OE mail window.