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

Instruction issue degree, Instruction Issue degree : The major concept in s...

Instruction Issue degree : The major concept in superscalar processing is how many instructions we can issue per cycle. If we issue k number of instructions per cycle in a supersca

What is soap and how does it relate to xml, The Simple Object Access Protoc...

The Simple Object Access Protocol (SOAP) uses XML to describe a protocol for the exchange of information in distributed computing environments. SOAP having of three components: an

Explain about the value chain for a manufactured product, Explain about the...

Explain about the value chain for a manufactured product. The products sold in shops and purchased for use within organizations are the result of a complicated web of relations

Identify the number of control lines for 16 to 1 multiplexer, The number of...

The number of control lines for 16 to 1 multiplexer is ? Ans. We have 16 = 2 4 , 4 Select lines are needed.

How to load dos from floppy disk, Q. How to load DOS from Floppy Disk? ...

Q. How to load DOS from Floppy Disk? If DOS is not setup on the Hard Disk of your PC, or you want to load DOS from the Floppy disk drive due to any reason, follow these steps:

Which is the slowest sorting procedure, The slowest sorting procedure is   ...

The slowest sorting procedure is    Bubble Sort is the slowest sorting process.

Explain the importance of computer architecture, Explain the importance of ...

Explain the importance of Computer architecture Computer architecture courses cover application, organization, architecture, logic and transistor layers. However, four other la

Which rule is used for the expansion of nested macro calls, The expansion ...

The expansion of nested macro calls done by using of? Ans. LIFO rule is used for the expansion of nested macro calls.

What is process, What is Process? Process: A process is a program in ...

What is Process? Process: A process is a program in execution. It is an active entity, represented through the value of the program counter and the contents of registers o

Define formal language grammar, Define formal language grammar? A forma...

Define formal language grammar? A formal language grammar is a set of formation rules which describe that strings made by the alphabet of a formal language are syntactically va

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