preserving resource forks under Windows

Richard Gaskin ambassador at fourthworld.com
Mon Apr 26 14:34:30 EDT 2004


Chris Sheffield wrote:
> Does anyone know of a way to do this?
> 
> I have an installation program built in Rev.  In one step of the
> installation, I'm copying certain files to a server, including client setup
> programs to be run at each network workstation (one for Windows, one for Mac
> OS X, and one for Mac OS 9).  The Windows and OS X client setup programs
> work fine, but the OS 9 one does not if I run my server installation on a
> Windows machine (obviously because the resource forks are not getting
> preserved).  So is there a way to do this from Rev?  I notice that if I copy
> a file directly from my Mac to my Windows machine using the Finder, the
> resource fork is placed in a file named something like "._myfile", which
> seems to work okay.  Any ideas on how I can make this work using revCopyFile
> or similar.

You can use the resFile service specified to get and set a resource fork 
on Mac systems:

   put url ("resfile:"&tMyFilePath) into tMyResData

-- 
  Richard Gaskin
  Fourth World Media Corporation
  ___________________________________________________________
  Ambassador at FourthWorld.com       http://www.FourthWorld.com


More information about the use-livecode mailing list