Path: utzoo!attcan!uunet!dg!dg-rtp.dg.com!bkahn From: bkahn@archive.webo.dg.com (Bruce Kahn) Newsgroups: comp.sys.apple2 Subject: Q: C & Prefixes Message-ID: <1147@dg.dg.com> Date: 14 Nov 90 22:04:43 GMT Sender: root@dg.dg.com Reply-To: bkahn@archive.webo.dg.com (Bruce Kahn) Organization: Data General Corporation, Westboro, MA Lines: 16 Im trying to port a C program to GS/OS w/minimal changes to the program. I would however like to be able to the ability to access the GS/OS prefixes from w/in my program (or just be able to track 2 separate 'paths' and switch between them when using SFGetFile/SFPutFile). For example, Id like to be able to set a 'target' directory using one SFPutFile call and then allow the user to select any 'source' files from any directory YET have the program remember the 'target' directory. How can I do this in Orca/C? Can I 'reload' the info that SFPutFile would require between source and target directory changes? Does anyone have any sample C code to achieve this? -- Bruce (bkahn@archive.webo.dg.com or kahn@adam.dg.com) Standard disclaimers apply, except where prohibited by law...