Hi, I am trying to use the above function to generate the path for a given file. However I am facing the following problem. When I use call FSMakeFSSpec with the default vRef(0), the directory ID that I am interested in and 0 for the filename, the path is generated correctly. However, if I specify a filename which is present in the directory whose directory ID I pass in, it fails with -35 as the error code. Could anyone tell me what the reason behind this could be? Is there some special format for specifying the file name or is it just a null terminated string? Thanks Krishna __________________________________ Do you Yahoo!? New and Improved Yahoo! Mail - 100MB free storage! http://promotions.yahoo.com/new_mail _______________________________________________ darwin-kernel mailing list | darwin-kernel@lists.apple.com Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/darwin-kernel Do not post admin requests to the list. They will be ignored.