preserving resource forks under Windows

Chris Sheffield revlist at cableone.net
Mon Apr 26 14:39:24 EDT 2004


But does that work on a PC running Windows?  The docs say it doesn't.
That's my problem.  I'm copying the files from a CD (Mac/Windows hybrid) to
a PC hard drive.  Will this still work?

Thanks again,

Chris Sheffield
Software Development
Read Naturally
 


-----Original Message-----
From: use-revolution-bounces at lists.runrev.com
[mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Richard Gaskin
Sent: Monday, April 26, 2004 12:35 PM
To: How to use Revolution
Subject: Re: preserving resource forks under Windows


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
_______________________________________________
use-revolution mailing list
use-revolution at lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution

---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.669 / Virus Database: 431 - Release Date: 4/26/2004
 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.669 / Virus Database: 431 - Release Date: 4/26/2004
 



More information about the use-livecode mailing list