PGetDefaultDir

Gets the name and path of the current default directory (or "folder"in Macintosh terminology).


Query results

This query returns a C string containing the path to the current default folder, ending without a backslash in Windows (unless it is the root folder, e.g., c:\), but with a colon on the Macintosh
Default folder reset. PageMaker automatically resets the default folder to the folder last-accessed whenever you open, place, export, or save with either File > Save As or the SaveAs command.

To change the default directory, use the PDefaultDir command class.

Example.

PGetDefaultDir defDir;
strcpy(filespec, defDir);


Copyright © 1996, Adobe Systems Incorporated. All rights reserved.

Comments or suggestions? Contact Adobe Developer Support