Download as pdf or txt
Download as pdf or txt
You are on page 1of 7

Information Security Document

File Naming Convention Guidelines

Document Classification: Internal

Title: File Naming Conventions Guidelines Document Code: IS_PROC_007

Author: Sanil Nadkarni Release Date: 17/03/2015


Reviewed by: Milind Wairkar Version: 7.0
Approved by: Anand Krishnamoorthy Next Review Date: February2016
File Naming Convention
Guidelines
Document Control

Change Record

Delivery Date Author Version Change Details Approver Name Approval Date
N. - -
26 Oct. 2004 1.0 New Document
Narayan
Policy Reference given - -
N.
27 Nov. 04 1.1 and Document No
Narayan
added
Company name / logo - -
15/6/05 Nadeem 1.2
changed
Mithilesh Nominated owner - -
18/4/06 1.3
Singh changed
Mithilesh - -
11/11/06 1.4 Upgrade to ISO 27001
Singh
Kiran Prasad Kamath, Senior 11/01/08
11/01/08 2.0 Change in format
Nair Manager – R&C
Abhinav Periodic review – No Prasad Kamath, Senior 11/10/09
11/10/09 3.0
Kumar changes identified Manager – R&C
Kiran Periodic review – No Nilanjan Ghosh, HOD – 6-Sep-10
6-Sep-10 4.0
Nair changes identified R&C
Sanil Annual Review no Anand Krishnamoorthy, 09/01/2012
13-Dec-2011 5.0
Nadkarni changes Director – R&C
Sanil Annual Review no Anand Krishnamoorthy, 23/11/2012
09-Nov-2012 5.0
Nadkarni changes Director – R&C
“Publish Date” is Anand Krishnamoorthy, 06/08/2013
changed to “Release Director – R&C
Date”

Akshata
14/06/2013 6.0 Added new field “Next
Thakur
Review Date”

Added reference to
Ventura India.
Akshata Annual review, No Anand Krishnamoorthy, 30/09/2014
11/08/2014 7.0
thakur change Director – R&C
Annual review. Updated Anand Krishnamoorthy, 12/03/2015
Sneha
05/02/2015 7.0 the change record Director – R&C
Joshi
control.

ver 7.0 Page 2 of 7 Internal


File Naming Convention
Guidelines

Table of Contents

1. FILE NAMING CONVENTIONS........................................................................................................................................4


2. A DIGITAL FILING CABINET ..........................................................................................................................................4
3. NAME THAT FILE .......................................................................................................................................................4
4. WINDOWS’ LONG FILENAMES ......................................................................................................................................4
5. A DISCIPLINED APPROACH...........................................................................................................................................5
6. FILE EXTENSIONS .......................................................................................................................................................6
7. UNIQUE FILENAMES ...................................................................................................................................................7
8. DISKS, PATHS AND FILENAMES .....................................................................................................................................7

ver 7.0 Page 3 of 7 Internal


File Naming Convention
Guidelines

1. File Naming Conventions

Everything you work with on your computer is stored in the form of files. A letter you write in your word processor; an
image you scan in and edit using a graphics program; a database containing your worksheets, statements, letters,
notes, inventory items. They are all stored on your hard disk or other storage medium, such as a Zip disk – as files. Even
programs are stored as files. Windows itself, for instance, consists of thousands of files, with each file contributing its
own little bit to the general functioning of your computer. It’s not uncommon for a PC with Windows and a few
applications installed to have as many as 50,000 files stored on the hard disk. All the references to Capita India Pvt. Ltd.
should include Ventura India Pvt. Ltd.

This mass of files can easily disintegrate into a mess of files if you do not know how to whip them into line.

2. A Digital Filing Cabinet

Windows provides a simple mechanism for organizing files. It lets you create folders, in which you can store related
files.

The terminology is reminiscent of an office filing cabinet, and that’s a pretty fair analogy. You can think of your hard
disk as the filing cabinet; the folders as file folders to which you attach labels so you can quickly locate the correct one;
and the files themselves as documents containing text, graphics and other information. Of course, the types of
documents you can store on a computer are more varied than anything you can shove into a filing cabinet; bills,
correspondence, receipts, brochures and photos, for example, you can also store such things as video clips, music tracks
and programs.

Windows goes one step further than the average filing cabinet, and lets you store folders within folders. The added
level of organisation provided by these sub-folders makes it remarkably easy to keep track of files even when your hard
disk is crammed with documents and programs.

3. Name That File

A nicely organised folder structure provides one step towards organising your files effectively. Equally important is the
need to name your files and folders in clearly identifiable ways, so you – and your software – can locate the correct file.

Each file on your computer has a filename which uniquely identifies it.

The extension usually indicates the type of file:

 DOC for documents,


 BMP for pictures in bitmap format,
 XLS for Excel spreadsheets, and so on.

4. Windows’ Long Filenames

Windows is quite liberal with filenames. It lets you use up to 215 characters, including spaces.
There are a few characters that you can’t use in Windows’ filenames. They are:

/\:*?"<>|
That last symbol is called ‘pipe’ and you’ll usually find it on your keyboard directly above the backslash (\) key. Apart
from those excluded characters, you have free rein when naming your files.

ver 7.0 Page 4 of 7 Internal


File Naming Convention
Guidelines

Such liberality makes it much easier to create meaningful filenames, but also has its drawbacks.

 First, you should try to avoid very long filenames (say over about 65 characters) because many programs choke on
ultra long filenames.
 Second, it is easy to waffle when using such long filenames, instead of using a disciplined approach. So try to
establish a consistent approach to naming files while taking advantage of the ability to be descriptive.

For example, say you have two Excel spreadsheet files, one containing 2003 capital expenditure budget and the other
an expenditure budget for 2003.

If you name the files as:

 Budget for the capital expenditure for the year 2003.xls


And
 Budget for the expenditure for the year 2003.xls

There is a risk of some error in either accessing or updating the right file.

Try something a little more precise, thus:

 capex budget 2003.xls

As the type of content is identified in the beginning, there is little chance for confusion.

5. A Disciplined Approach

For a more detailed structure, have a separate folder for each Subject or the Topic Name of your main function domain
say for Operations:

 Main folders may be created for each Client separately or any other important group that you need for segregation
(give names preferably up to 10 characters)
 Sub-folders may be created for the jobs being processed, correspondence or any other activity performed related
to the main folder of client / group (give names preferably up to 15 characters)
 Sub-folders (within above sub-folder) may be created for the period covered if the data generated / processed is
large and needs such segregation for easy tracking (give names preferably up to 8 characters)
 Save all relevant files in this folder by giving file names indicating brief content of the file (give names preferably up
to 15 characters)
 You may give sequence no. as a pre-fix to each file created if content of all files is same and files are repetitive in
nature (use maximum 2 characters).
 Filenames may be followed by yymmdd (year month date) to track the reference date (if sub-folders for period as
mentioned in (iii) above are not required).
 Do not use following characters in the filenames / \ : * ? " < > |

The consistency will not only help you locate files, but it will also help keep files sorted in a logical order, which is handy
when you are searching for a file in a File Open dialog box.

A combination of consistency, precision and descriptiveness when naming your files will make them easy to locate later.

ver 7.0 Page 5 of 7 Internal


File Naming Convention
Guidelines

6. File Extensions

Note that each of the example filenames above includes a three-character file extension. In Windows, while you are not
limited to a three-character extension, the characters after the full stop are still, by convention, used to indicate the
filetype – whether it’s a WordPerfect document, an Excel Spreadsheet, a video clip, or some other file. Under Windows,
the names of file types mostly contain three characters (largely inherited from their DOS predecessors), but you’ll find
some with one or two (such as WP for some word processing documents) and some with four or more (such as HTML
for some Web documents).

Although designed to make things easier, this ploy really leads to more confusion for beginners rather than less, so my
advice to you is to unhide those extensions. Here’s how, in Windows XP:

 Click Start -> My Computer.


 In the My Computer window, select Folder Options from the Tools Menu.
 In the Folder Options dialog box, click the View tab at the top.
 In the list of settings, locate the option Hide Extensions For Known File Types and, if it’s ticked (checked),
remove the tick/checkmark by clicking the option.
 Click OK and close the My Computer window.
 In Windows 9x or Windows Me:
 Double-click My Computer.
 In the My Computer window, select Folder Options from the Tools Menu (if you are using Windows 95 or
Windows 98, use Options on the View Menu).
 In the Folder Options dialog box, click the View tab at the top.
 In the list of settings, locate the option Hide File Extensions For Known File Types and, if it’s ticked
(checked), remove the tick/checkmark by clicking the option. (In Windows 95, the option is labelled Hide
MS-DOS File Extensions For File Types That Are Registered.)
 Click OK and close the My Computer window.

If you followed the steps described above to unhide your file extensions, you may have noticed that the dialog box in
which you made the change had three buttons at the bottom: OK, Cancel and Apply. Lots of dialogs have those same
three buttons.

It’s pretty easy to figure out that clicking Cancel will let you exit the dialog box without implementing any changes
you’ve made. But what’s the difference between clicking OK and Apply?

Apply implements any changes you’ve made in a dialog without exiting the dialog. OK implements the changes and
exits the dialog. That’s why the Apply button is usually inactive (greyed out) if you have not yet made any changes. If
you make some changes, click Apply and then click Cancel, it’s too late to undo the changes – they’ve already been
applied.

The Apply button is particularly useful when you are making changes that are immediately visible. For instance, you can
change the background on your Desktop by right-clicking in a vacant space on the Desktop and choosing Properties
from the pop-up menu. This displays the Display Properties dialog. If you make a change in the dialog and click Apply,
you can see the effect of that change immediately. If it’s not the effect you are after, try another setting and click Apply
once more. When you are happy with your settings, click OK.

You’ll find almost every program you use appends a default file extension to files you create. For example, Microsoft
Word adds the extension .doc to documents you create (unless you specify otherwise). Because this is done
automatically, you usually do not have to bother about file extensions when naming files – simply provide a descriptive
filename and let the program add the correct extension. Just make sure you do not end your filename with a full stop. If
you do so, the program will think you want a blank extension and will not add the correct filetype extension.

ver 7.0 Page 6 of 7 Internal


File Naming Convention
Guidelines
If you have an ’orphan’ file (that is, one for which you can’t find the program that created it), you can often identify the
file by its extension. Use the File Extension Search Engine to check a list of over 1600 file extensions.

File extensions are more than merely convention. Windows associates different file extensions with different programs,
and automatically opens the document using the associated program. For example, when you double-click a file with
the extension .xls, Windows recognizes it as an Excel spreadsheet and opens it using that program (provided, of course,
you have a copy of Excel installed on your computer).

7. Unique Filenames

Windows does exactly what you do to distinguish the two files: it notes the different locations. One may be on the
Desktop; the other may be in the My Documents folder. Clearly they’re not the same file (although they may be copies
of the same file).

What Windows does, in fact, is identify files using three pieces of information: the name of the disk on which they
reside, the folder path, and the filename.

8. Disks, Paths and Filenames

Disks are identified by a drive letter. On most computers, the floppy drive is called A: (note the colon is part of the drive
name), the hard disk is C: the CD-ROM is D: If your computer has additional drives these identifiers may differ a little,
but this is the usual setup.

A folder path is the list of folders and sub-folders you must traverse to find a file. The folder path of a file you place in
the Correspondence sub-folder within the My Documents folder is:

\My Documents\Correspondence\

The backslashes are used to separate each element in the path.

(Actually, in Windows XP, the My Documents folder is a sub-folder within other folders, so the path is more likely to
look something like this: \Documents and Settings\username\My Documents\Correspondence

Where username is your Windows log on name. For simplicity’s sake and because the location differs depending on
how your computer is set up, we’ll stick with the shorter pathname.)

So, a full filename takes the form: driveletter:\folderpath\filename

Thus the full filename of the elephant photo we have in our My Documents folder consists of: C:\My
Documents\Jumbo. Jpg

While the full filename of the elephant photo on the Desktop is C:\Windows\Desktop\Jumbo.jpg

So, despite initial appearances, the two filenames are unique. If you make a copy of Jumbo.jpg on a floppy, its unique
filename will be A:\Jumbo.jpg.

You’ll also notice that the Desktop, which you think of as your screen, is really just another sub-folder, stored within the
Windows folder.

ver 7.0 Page 7 of 7 Internal

You might also like