How to copy several files in one stroke, Computer Engineering

Assignment Help:

Q. How to copy several files in one stroke?

The COPY command can also be used to copy several files in one stroke by using wildcards. For example, consider the following commands:

C :\> COPY C:*. DOC A:

C :\> COPY C: SALE?. REP A:

The first COPY command copies all file having the extension name DOC in the current directory in drive C to a disk in drive A. The second command copies files such as SALE1. REP, SALE 2. REP and SALE.REP from the current directory in drive C to a disk in drive A.

While using the COPY command (or for that matter, any dos command), if you do not specify the path, DOS assumes that you are referring to the currently selected drive and directory. For instance, consider the following command:

                  C :\> COPY COMMAND.COM A:

                  C: \ WORD> COPY DASTA 1.DOC A:

In the first command, the drive and directory names are not specified with COMMAND.COM. However, as drive C is the currently selected drive and the root directory is selected (prompt is 'C :\>'), DOS assumes that you are referring to the root directory of drive C. Accordingly, it looks for the COMMAND.COM file in the root directory of drive C. similarly, the next COPPY command looks for DATA1.DOC file in the WORD directory in drive C, as C:\WORD is the current directory and no path is specified with the DATA1.DOC.


Related Discussions:- How to copy several files in one stroke

What is the use of inter process communication, What is the use of inter pr...

What is the use of inter process communication. Inter process communication gives a mechanism to allow the co-operating process to communicate with each other and synchronies t

Read, i read in b.tech 3year.i can go to hadrabad becouse read of branch p...

i read in b.tech 3year.i can go to hadrabad becouse read of branch parer.why the best instituies in hadrabad in purpus gate and branch paper

Transfer data among computers on the internet, Tool that is used to transfe...

Tool that is used to transfer data/files among computers on the Internet TCP (Transfer control protocol)

Add another layout cell, Next add a layout cell for the Learn More About gr...

Next add a layout cell for the Learn More About graphic. 1.  In Objects panel, click the Draw Layout Cell icon. 2.  In Document window, draw a new cell in the space below nav

Functions of an operating system, a) In multitasking Operating Systems, th...

a) In multitasking Operating Systems, there are two types of multitasking such as the "Preemptive Multitasking" and the "Cooperative Multitasking". Describe the two mentioned mult

What is an orthogonal base class in c++, If two base classes have no overla...

If two base classes have no overlapping methods or data they are said to be independent of, or orthogonal to each other. Orthogonal in the sense means that two classes function in

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

Differentiate between motion and shape tween, Question: 1. In Flash, w...

Question: 1. In Flash, what is the purpose of a motion guide layer? 2. Differentiate between Motion and Shape tween. 3. Give the steps to create a layer mask in flash.

What is a diagonalization language ld, What is a Diagonalization language L...

What is a Diagonalization language LD?  The  diagonalization  language  having  of  all  strings  w  such  that  the  TM  whose  code is w does not accept when w is given as in

Explain star topology, Explain Star topology. A network utilizes a star...

Explain Star topology. A network utilizes a star topology if each computer attach to a central point. The following figure demonstrates the concept: Star Topology

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