ISO 9660 (file naming) standards by Matt Ottewill

Introduction

The ISO9660 standard was originally created to define and standardise the file structure of a cross platform CDROM. It helps ensure the compatibility of files moved between differing computer systems (eg Macs and PCs).

It is now most commonly used to name web site pages and files. The most useful things to know about it are ...

1. It defines the file structure for CDROM discs that can be read by the widest range of computers including Macs and PCs.

2. When naming files you must observe strict file naming convention.

3. Naming your web site files according to these standards will help ensure that your files (and therefore web sites) will work on any computer.

ISO 9660 CDROMs

To make an ISO 9660 cross platform disc, select this option in your CD burning software. You should observe the file naming conventions laid out below for all your files as laid out below.

Web site file naming

The most common situation in which files will be viewed by differing computer systems is of course on the world wide web. To be certain of compatibility it is therefore essential that you observe the rule when naming the following file types ...

  • web pages
  • CSS files
  • JavaScripts
  • images
  • mp3 audio files
  • folders
  • video files
  • animation files (eg Flash)
  • pdfs
  • etc

NOTE: If you are linking files which will be downloaded rather than viewed in the browser, you may not need to observe the rules so strictly, except that you should be careful to always include the file extension (eg .mp3).

The ISO-9660 file naming rules (also known as 8:3)

Before Windows 98 there was Windows 95 and before that Windows 3.1 and bare bones DOS. There are still plenty of Windows 3.1 users around. Windows 3.1 imposes strict rules on the naming of files known as the ISO-9660 naming conventions (Unix imposes similar rules). Those who ignore these conventions will exclude 3.1 and Unix end-users from viewing their projects. It is essential that web site/multimedia project folders and files are named appropriately to enable the Windows 3.1 and Unix operating systems to "see" the files.

So ... to ensure cross platform compatibility for CD / DVD ROM and web site projects ... use the following naming conventions.

  • Use 8 or fewer characters to name the file
  • Use only letters a-z and numbers 0-9 and the underscore character (_)
  • Always begin the name with a letter, not a number
  • Follow the name with a period (.). NOTE: Only folders do NOT require this.
  • Follow the period with a 3 character extension. NOTE: Only folders do NOT require this.
  • Leave no spaces

ISO-9660 Extensions

ISO-9660 employs a three character extension at the end of a file name to determine the file type. Here are some extensions ...

  • .txt = ASCI text file
  • .htm = Hyper Text Mark-up Language file
  • .dir = Director movie
  • .dxr = Locked (protected) Director movie
  • .mov = QuickTime for Windows
  • .avi = Video for Windows
  • .wav = Wave, audio file
  • .aif = Audio Interchange File Format
  • .gif = GIF
  • .jpg = JPEG PICT
  • .swf = Shockwave file
  • .fla = Flash movie
  • .exe = An executable self running application, such as a Director projector.

Mac file naming

OS9

Apple's old file naming system was called HFS (Hierarchical Filing System) and can happily "see" files named according to the ISO-9660 conventions but does not require them for itself. Files created on the Mac contain embedded information within their data/resource forks structure indicating the files origins and type.

OSX

Things have changed with the Unix based OSX. Use extensions and assume files handle like Windows.

Unix file naming

The Unix operating system file naming system is similar to ISO-9660 but demands lower case characters only. If you want your multimedia and web projects to run on PCs, Macs and Unix systems you must acknowledge this simple rule when naming your files.

Naming files for cross platform compatibility

There will be occasions when your multimedia project files must be transferred between Macs and PCs. For example ...

  • You wish to create a hybrid CD-ROM containing PC and Mac projectors which share common linked media files (discussed later).
  • A project being developed on a PC is to be continued on a Mac.
  • A project being developed on a Mac is to be continued on a PC.

Here are some of the extensions you should use:

  • .CST = External cast
  • .MOV = QuickTime
  • .WAV = Wave audio file
  • .SWF = Shockwave file

Referring to filenames in Lingo scripts

Never include extensions when referring to linked external files and movies in Lingo scripts, although the files themselves must include extensions. For example ...

If a saved file is entitled menu.dir ... then call it ... movie "menu" in a lingo script.

Referring to pathnames in Lingo scripts

When referring to the location of linked files in Lingo, Director developers should remember that the Mac uses colons (:) in pathnames, and Windows uses the backslash (\). Director 7 takes care of updating pathnames automatically when projects are ported cross-platform.

 

Related downloads

None at present

Music by our artists

Free MP3 tracks

Download page

Related ads