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

Cheques vs credit cards, Cheques vs Credit Cards       E-cheques:  E-ch...

Cheques vs Credit Cards       E-cheques:  E-cheques are used for business dealing in e-commerce.  Transactions of these cheques take place on Internet. In this system the elect

Projects on cluster computing, Some famous projects on cluster computing ar...

Some famous projects on cluster computing are as follows: High Net Worth Project: (developed by: Bill McMillan, JISC NTI/65 - The HNW Project, University of Glasgow, The prim

Distinguish between how ntfs and fat store time, Problem (a) Distingu...

Problem (a) Distinguish between how NTFS and FAT store time. Describe your answer. (b) Unix epoch starts as from January 1, 1970, 00:00:00 GMT. Provide that Unix stores

What do you mean by directives, Q What do you mean by Directives? Assem...

Q What do you mean by Directives? Assembly languages support numerous statements. This allows you to control the way in which a source program assembles and list. These stateme

Define security protocols used for e-commerce applications, Define various ...

Define various security protocols used for e-commerce applications. The e-commerce systems of today are composed of very many components as like: a commerce server, client soft

Non-repudiation achieved in designing e-cash based system, How can non-repu...

How can non-repudiation be achieved into designing e-cash based system? E-cash is fundamentally an online solution. The buyer should validate the coins by the issuer so as to g

What is static timing, What is Static timing a. Delays over all paths a...

What is Static timing a. Delays over all paths are added up. b. All possibilities, including false paths, verified without the need for test vectors. c. Faster than simul

What is home shopping, Home Shopping TV broadcast of goods for purchase...

Home Shopping TV broadcast of goods for purchase, sent directly to a viewer . This online shopping is available because of e-commerce.

What is shared memory programming, Q. What is Shared Memory Programming? ...

Q. What is Shared Memory Programming? We know all processors share a common memory in shared memory model. Every processor can be assigned a separate portion of program stored

fisherpersons are not over-fishing, Prepare the Relational Tables to signi...

Prepare the Relational Tables to signify the following situation, which is defined by means of text and an Entity Relationship Diagram. Note: Do not attempt to vary the ERD. Yo

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