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

What are the steps involved in authentication, What are the steps involved ...

What are the steps involved in authentication? Steps in Authentication The control over the access of the resources in the repository is exercised in two steps namely Auth

What is the window of the working set of a process, What is the window of t...

What is the window of the working set of a process? The window of the working set of a method is the total number in which the method had referred the set of pages in the work

Discuss the advantages of store program control, Discuss the advantages of ...

Discuss the advantages of store program control (SPC) automation in telephone switching. Advantages of SPC: (i) Simple to control (ii) Simple to maintain (iii) Fine-

Er diagrams, how can I draw er diagram for sell & storage section of a drug...

how can I draw er diagram for sell & storage section of a drugstore?

What is register set, What is Register Set Register Set:  Register set ...

What is Register Set Register Set:  Register set is used to keep immediate data during the implementation of instruction. This area of processor having of various registers.

Name at least six file extensions of microsoft access, Some of the file ext...

Some of the file extensions present in MS Access are ? Access blank project template .adn ? Access database .accdb ? Access Workgroup .mdw ? Access project .adp ? A

How is a microsoft crm workflow tool enabled, How is a Microsoft CRM Workfl...

How is a Microsoft CRM Workflow tool enabled? A Microsoft CRM Workflow tool enables certainly one to as given below: • Explain business policies based upon established proce

Can you explain about internet protocol, Q. Can you explain about Internet ...

Q. Can you explain about Internet Protocol? Internet protocol specifies the rules which define the details of how computers communicate. It specifies exactly how a packet shoul

Hazard (computer architecture), Hazard (computer architecture): In the...

Hazard (computer architecture): In the computer architecture, a hazard is a possible problem that can occurs in a pipelined processor. It concern to the possibility of erroneo

Which one is better hardware or software firewall, Which one is better hard...

Which one is better hardware or software firewall While deciding whether to buy a hardware or software firewall, the user must consider important factors such as performance an

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