How to define a filename in dos, Computer Engineering

Assignment Help:

Q. How to define a Filename in DOS?

Each file is given a name so that it can be referred to later. This name is termed as Filename. The filename in DOS can be up to eight alpha-numeric characters long. Optionally it can also have a period (.) followed by an extension name. The extension name should be up to three characters long. For example, consider the following filename:

                 REPORT2

                 PROGRESS.DOC

REPORT2 is a filename. This filename does not have an extension name - 'DOC'. Its optional to use of an extension name in a filename . However, the extension name help out in organizing and identifying a file. For example 'DOC' may suggest that it is a document file and 'COM' may suggest that is a command file. If you use an extension name with a filename, usually you will have to identify the complete file name, normally you will have to specify the complete file name (i.e. contain the extension name) when using it with DOS commands. While giving names to files, you can use the following characters in filename:

 #, $,@, %, ^, &, -, _,',{},( ),~,0-9,a-z,A-Z

You cannot use other characters, such as semicolon (;), colon (:), coma (,), <, >, \, /, etc. in filename. Moreover, you should not use space in filenames. Some examples of invalid file names are:

Filename                                            Reason

SALE 2                                               Contains space

PROGRESSER                                     Contains more that eight characters

MY, File                                              Contains commas

CHAP_01.DOC4                                 Extension name contains more than 3 characters

If you use more than eight characters in the filename or more than three characters in the extension name, DOS may automatically shorten the filename by removing extra characters. Except this, some file names, such as COM 1, COM 2, LPT1, com and PRN are reserved by DOS for its own use. Therefore, do not use these names to name your file. Also, keep in mind that every DOS application programs including Excel, Word, WordStar, Base III PLUS AND Fox Pro follow the same file naming convention.


Related Discussions:- How to define a filename in dos

List all seven layer of osi model, List all seven layer of OSI model and de...

List all seven layer of OSI model and describe function of application layer. The layers of OSI model are as follows: (1) The Physical Layer: It defines an interface in

How do you classify the neutrons, Q. How do you classify the neutrons in te...

Q. How do you classify the neutrons in terms of its kinetic energy? Neutrons are classified as-per to their kinetic energy as (a) Slow neutrons as well as (b) fast neutrons.

Calculate period of congestion in a particular exchange, In a particular ex...

In a particular exchange during busy hour 1200 calls were offered to a group of trunks, during this time 6 calls were lost. The average call duration being 3 minutes Calculate

How many instructions in a computer, Q. How many instructions in a Computer...

Q. How many instructions in a Computer? A computer can have a vast number of instructions and addressing modes. Older computers with the growth of Integrated circuit technolog

What is npblox framework, Designed, developed, tested and documented the de...

Designed, developed, tested and documented the demo created for NPBlox framework. NPBlox framework is a framework which enabled developers to create CLI/WEB/SNMP interfaces for

Interrupt handling - computer architecture, Interrupt handling: Handlin...

Interrupt handling: Handling Interrupts  Several  situations where the processor should avoid interrupt requests Interrupt-enable Interrupt-disable  Typical

In what way the protection fault handler concludes, In what way the protect...

In what way the protection fault handler concludes? After finishing the implementation of the fault handler, it sets the change and protection bits and clears the copy on write

Let most segment of a name in dns represents, Let most segment of a name in...

Let most segment of a name in DNS represents? Lest Most segment of a name in DNS shows: Individual computer.

Analysis the pc configuration, 1) Identify the software needs of each PC an...

1) Identify the software needs of each PC and whether or not anything needs to change. a. State the changes that you would make (and why) b. If no "change" needs to be made b

Name a different return types of a controller action method, The following...

The following are just a few return types of a controller action process. In common an action process can return an instance of an any class that derives from Action Result class.

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd