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

Explain the outsourcing barriers that an organization faces, Explain the ou...

Explain the outsourcing barriers that an organization faces. 1. Critical operations that cannot be outsourced. 2. Negative customer reaction. 3. Employee resistance. 4

State about the firewalls - intranet, Firewalls While getting one fire...

Firewalls While getting one firewall for the company's Intranet it should be well known that firewalls come in both hardware and software forms, and that even though all firew

Define wait protocol, Q. Define Wait protocol? The wait protocol is use...

Q. Define Wait protocol? The wait protocol is used for resolving conflicts that arise due to some multiprocessors requiring same resource. There are 2 kinds of wait protocols:

Disadvantages of unauthenticated sites, Disadvantages of unauthenticated si...

Disadvantages of unauthenticated sites All the Units entering the Intranet must be scrutinised to ensure that they are not coming from the unauthenticated sites or users. It a

Pc cross assembler, 1.0 By working throughthe first time guide this will ga...

1.0 By working throughthe first time guide this will gain familiarity with the on board monitor and the PC cross assembler  After connecting the system to the terminal program,

Determine a program that is in execution, Determine a program that is in ex...

Determine a program that is in execution is known as Program in execution is known as Process

Create simple algebraic expression from k-map, Q. Create simple algebraic e...

Q. Create simple algebraic expression from K-Map? Now create simple algebraic expression from K-Map. These expressions are created by employing adjacency if we have 2 adjacent

What is called dhcp, DHCP stands for? DHCP that is stands for Dynamic H...

DHCP stands for? DHCP that is stands for Dynamic Host Configuration Protocol.

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