Skip to main content

Using the PATH

a hierarchal file structure showing a series of folders inside of foldersMost file systems including Windows, DOS, OS X, and Linux use a hierarchal file system, or a series of folders within folders within folders. Any of these folders can contain files.

This tutorial will show you how to annotate your programs so you can specify where a file is relative to the file or program that is running. This information is essential for web pages (displaying graphic files stored in a graphic folder), as well as applications (looking to open databases and text files).

If you are working with files of any kind you'll need to understand how to write a path statement.