Tracy,
IMHO you should more simply use a binary memo instead of a general field.
create table memotest ( mFile m nocptrans )
append blank
replace mfile with filetostr( getfile() )
strtofile( mFile, "copied.gif" )
>I've been testing a few code examples I found on the UT for copying bmp files from a general field to an actual file, however, while they seem to work with .bmp files, I cannot get it to work with an icon file. It creates a file, but windows does not recognize it as an icon file and the file opens up empty or blank in windows image editor, picture editor, paint, etc. I have a table named 'bridges' with a general field named 'icon' which stores an actual icon file, not a link. My goal is to copy the icon file stored in the general field to a specific path and filename.