Show list files by dir command, Computer Engineering

Assignment Help:

Q. Show list files by Dir command?

The Dir command can also be used to list files from the exacting directory. For example, the list of files present in the WORD directory in drive C, you can use the following commands.

            DIR C:\WORD

            DIR \WORD

The first command specifies the directory name and drive with DIR command. The second command does not specify the drive name in the command, does I'll use the default drive. Thus command will show list of file from the WORD directory in drive C only if drive C is the current drive. Otherwise, it will try to locate the WORD directory in the current drive. In both these commands, '\' refers to the root of the top -level directory in the current or the specified drive.

Like this, if you wish to get the list of file from the EXCEL directory, you can use the command -DIR C:\EXCEL. Now think another case.  We wish to list files from the SALE directory (refer to figure 2.1). If you watch carefully at the directory structure show in figure 2.1, you will notice that the Sales directory under the EXCEL directory, you need to specify the complete path for it with DIR command. The compute path for the SALES directory in shown:

Thus, you can use the commend DIR C:\EXCEL\ SALES to list files from the SALES directory. Here, C:\EXCEL\ SALES is the path for the files stored in the SALES directory. The path for any file includes all directories locked above that file in the directory free structure. The path also includes he drive name and the root directory. The root directory is referred to by '\' immediately following ':' after the drive letter, e.g. 'C:\'. If the path includes multiple directories, separate these directories with '\'. Also, do not use any space in the path. For instance, DIR C:\EXCEL \SALES is invalid.

To list files from the root directory of the current drive, you can use the commend- DIR \ (remember that the first '/' after DIR refers to the root directory.)


Related Discussions:- Show list files by dir command

Explian service topologies, Explian Service Topologies Service Topolog...

Explian Service Topologies Service Topologies In a service-based architecture there increase dependencies between services resulting from cooperation

Grid security, i just want the experiment to be taken , on Grid Security......

i just want the experiment to be taken , on Grid Security........

Loadrunner would you use to record a script, What Component of LoadRunner w...

What Component of LoadRunner would you use to record a Script? Ans) The Virtual User Generator (VuGen) component is used to record a script. It enables you to make Vuser scripts

Which of the memories stores the most number of bits, Which of the memories...

Which of the memories stores the most number of bits ? Ans. most number of bits stores in 32M x 8 As 2 5 x 2 20   = 2 25 Therefore 1M = 2 20 = 1K x 1K = 2 10 x 2 10

Computer Architecture, As an advocate of CISC architecture to RISC architec...

As an advocate of CISC architecture to RISC architecture, what are the merits and demerits of CISC to RISC architecture

Define memory cycle time, Define memory cycle time? It is the time dela...

Define memory cycle time? It is the time delay needed between the initiations of two successive memory operations. Eg. The time among two successive read operations.

Why is translation look-aside buffers important, Why is Translation Look-as...

Why is Translation Look-aside Buffers (TLBs) important? The implementation of page-table is completed in the following manner: Page table is maintained in main memory.

What is logical address space and physical address space, What is logical a...

What is logical address space and physical address space? The set of all logical addresses generated by a program is known as a logical address space; the set of all physical a

Differentiate between rom test and the ram test, Probelm : a) What is t...

Probelm : a) What is the purpose of "Jumps" in the 8051 Microcontroller? Describe three types of "Jumps". b) What is the purpose of a "call"? c) Differentiate between ROM

What is dma operations, What is DMA operations? State its advantages. ...

What is DMA operations? State its advantages. In order to transfer bulk amount of data among memory and I/O device without involvement of CPU, the Direct Memory Access metho

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