Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Computer Engineering Expert

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.)

Computer Engineering, Engineering

  • Category:- Computer Engineering
  • Reference No.:- M9568464

Have any Question?


Related Questions in Computer Engineering

Suppose you are given the following consumption and income

Suppose you are given the following consumption and income data: Consumption   100   190  280  370  460  550 Income                 0   100  200  300  400  500 Obtain an equation for the consumption function. Use your fu ...

If we compare and contrast the four market structures it is

If we compare and contrast the four market structures, it is evident that one market structure is most practiced and evident in the United States. It is the one that promotes and strives on competition. It is the one tha ...

Referring to myerss article there is a quote from stu card

Referring to Myers's article, there is a quote from Stu Card on page 52.This represents 1998's reality and vision for HCI research. Do you think that this vision explains innovation and research in HCI 1998-2017? Researc ...

How can word processing software give a person the ability

How can Word Processing software give a person the ability to better position themself or a business, in today's society? Why?

Given the following table keynbspand fdsnbspnbsprepair

Given the following table, key and FDs,   REPAIR (RepairInvoiceNumber, RepairDate, RepairCost, RepairEmployeeName, RepairEmployeePhone, SerialNumber, Type, TankCapacity) Candidate Keys: RepairInvoiceNumber, and (RepairDa ...

In a large university 6 of students live in dormitories a

In a large university, 6% of students live in dormitories. A random sample of 14 students is selected. What is the probability that the sample contains more than five students who do not live in the dormitories?

Single purpose processorsdesign the sequence recognizer for

Single Purpose Processors Design the sequence recognizer for 101 . Perform the following steps: - the state diagram -the state table -K-map -Simplification of the function by using the K-map -Circuit (logic diagram).

Question whether in a scholarly or practitioner setting

Question: Whether in a scholarly or practitioner setting, good research and data analysis should have the benefit of peer feedback. For this Discussion, you will post your response to the hypothesis test, along with the ...

Short answer essaygiven a requirement to integrate wdas

Short answer essay Given a requirement to integrate WDAs into an Enterprise Intranet, what are 2 applications that would be candidates for that, and illustrate strategies/methodologies to accomplish that.

Structureswrite the program in c onlytask create a seating

Structures Write the Program in C++ only. Task: Create a seating reservation program for Podunk Airlines. The air fleet consists of a single plane with a seating capacity of 12. The plane makes one flight daily. Your pro ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As