Path: utzoo!attcan!uunet!cs.utexas.edu!samsung!noose.ecn.purdue.edu!news From: moyman@ecn.purdue.edu (James M Moya) Newsgroups: comp.sys.mac.programmer Subject: LSC File Manager questions (volumes) Message-ID: <1990Apr11.135700.28759@ecn.purdue.edu> Date: 11 Apr 90 13:57:00 GMT Sender: news@ecn.purdue.edu (USENET news) Organization: Purdue University Engineering Computer Network Lines: 21 Two questions: [1] I am trying to find the easiest way to get the VRefNum given only the the Name of the volume (Str255)...I read Inside mac about 60 times and it hasn't sunk in yet. I made up a horrible loop using GetVInfo and got sick, but it worke...There must be a better way... [2] I wrote a recursive routine that copies everything from one volume to another. It works fine in that everything is copied. The part I have not been able to figure out is the folder window size and the position of the files inside folders...They are all messed up after the copy. I want it to be just like a finder copy in that everything is preserved it the same position, etc...Anybody know what attribute I am forgetting to copy over (I am copying the ioFlFndrInfo field)?? Or is that the problem...I am re-reading Inside Mac for the 61st time to try and figure this out...Please e-mail me if you have any suggestions... Mike Moya Engineering Computer Network Purdue University