I don't believe that a resource fork is necessary at all. You need only set the creator and type: Type: TEXT Creator: R*ch I have a bunch of drag-and-drop filetypers that simply change the creator and file type and this trick works just find to cause a different application open a particular file. Hope this helps, Taylor At 10:28 AM -0600 11/5/97, Philippe de Rochambeau wrote: > How do you create a resource fork in a text file which you have just created > with the Perl 'open' command? > > I am currently writing a program that creates HTML files on the fly. I would > like to create resource forks in those files so that they appear as BBEdit > files. Changing the files' Creator does not make them appear as BBedit files > because they lack resource forks (when I open them with ResEdit, ResEdit tells > me that the files don't have a resource fork). > > Any help on this matter would be appreciated. > > Philippe de Rochambeau ***** Want to unsubscribe from this list? ***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch