Zeus Productions Banner

Zeus Tech Note
Path and File Specifications

(This document last revised August 14, 1997)

Copyright © 1996-1997. Zeus Productions. All Rights Reserved.
Written by Bruce A. Epstein

A. How can I specify a Macintosh PathName?

Specifying Macintosh pathNames is easy once you understand the rules. Macintosh pathNames start with the hard drive, followed by any folders, and finally the document, with each item in the path separated by a colon. The general form is:

hardDriveName:folderName1:folderName2:fileName

A. Are Macintosh and Windows file and path names case-sensitive?

Macintosh and DOS/Windows file names are not case-sensitive. The following are all equivalent.

myFile
myfile
MYFILE
MyFiLe

Be careful:

A. How do Mac and PC file names differ?

Those of you familiar with the DOS/Windows pathName standards, will notice the following differences:

A. Special Note for Files and Folders on the Desktop:

Files on the Macintosh desktop are referenced using the special reserved term "Desktop Folder" after the drive name and before the remainder of the path.

For example, a file called "myDocument" on the desktop would be referred to as:

MyHD:DeskTop Folder:myDocument

A document within a folder on the desktop is referenced in a similar manner:

MyHD:DeskTop Folder:MyFolder:myDocument

A. Notes about the Desktop Folder:

A. Why can't my file be found?

If your document can not be located when you are specifying a path, likely sources of error include:

A. Trouble-Shooting Macintosh File Paths

A. Trouble-Shooting Windows File Paths

A. What is a working directory and how do I set one?

Many applications assume that the documents and other files that they may require are located in the "working directory". zLaunch allows you to set the working directory for externally launched applications ensuring that all of their components can be found. zLaunch then resets the working directory upon return to Director.

Under Windows 3.1, this would be the same working directory as specified in the properties of the Program Icon associated with the application, if any. To view the properties of a Program Icon , hilight the Program Icon in the Program Manager, and select "Properties" or hit Alt-Enter.

Similarly, under Windows 95, this would be the same working directory as specified in the properties of the shortcut associated with the application, if any. To view the properties of a shortcut, hilight the shortcut, and click on the right mouse button. Then select Properties, and click on the Shortcut tab in the Properties dialog box. The working directory is defined by the "Start in:" field.



Home (Spotlight) | Table of Contents | Links | Contact Info

Place an Order | Products for Sale | Licensing | Downloads

TechNotes | FAQs | E-Mail Zeus | GuestBook | Glossary

[End of Page]

Copyright © 1996-1997. Zeus Productions. All Rights Reserved.