Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!cs.utexas.edu!yale!mintaka!ogicse!zephyr.ens.tek.com!tekigm2!gregr From: gregr@tekigm2.MEN.TEK.COM (Gregory S Rogers) Newsgroups: comp.sys.mac.programmer Subject: Simple File Manager Question Message-ID: <8751@tekigm2.MEN.TEK.COM> Date: 29 Mar 90 07:54:35 GMT References: <7726@b11.ingr.com> Reply-To: gregr@tekigm2.MEN.TEK.COM (Gregory S Rogers) Organization: Tektronix, Inc., Vancouver, WA. Lines: 24 This problem seems so simple, but I must have a basic misunderstanding, can anyone help? Using LSC 3.0 ... I call SFPutFile to enter a file name and select the folder (not the System Folder) to save into; SFPutFile(where, "\pPrompt", "\pText Box", NIL, &reply); I expect reply.vRefNum to return the Working Directory reference number for the folder chosen in the dialog. But after I call GetFInfo(); errnum = GetFInfo(reply.fName, reply.vRefNum, &theInfo); if a file of the name fName exists in the System Folder then errnum = noErr indicating the file already exists. But why is GetFInfo looking for fName in the System Folder??? Shouldn't it only look in the folder id'd by vRefNum??? If no file of name fName is in the System Folder, everything works fine and vRefNum is used to save the file to the correct and desired folder. I must be missing something very simple but I'm stumped. Thanks!