Show example of copy command, Computer Engineering

Assignment Help:

Q. Show example of COPY command?

This COPY command copies the REPORT file from the drive C to the disk in drive A. after copying the file in drive A, it will name the new file (in drive A)too REPORT. Now consider the following commands:

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

               C :\> COPY A: CHAPTER1. DOC C:\WORD

The first command copies the chapter1.DOC file from drive A to the current directory in drive C. as the root directory is selected in drive C(prompt is 'C:\>'), it copies the file to the root directory in drive C. the next command copies the file to the WORD directory in drive C.

In all examples discussed above the COPY command assigns the same name to the copied file as the source file name. Notice that in these COPY commands, you did not specify any filename with destination. That is why the COPY command assigned the source file name to the copied files. However if you like, you can assign a new name to the copied file for example,

                 C :\> COPY C: REPORT A: SALESREP

Will copy the REPORT file from the drive C to drive A and will assign SALESREP as the file name to the copied file.


Related Discussions:- Show example of copy command

C++, pebble merchant

pebble merchant

Derive the expression of traffic capacity, Traffic Capacity is given by? ...

Traffic Capacity is given by? Traffic Capacity = Switching capacity × Theoretical maximum load.

What is a table cluster, What is a table cluster? A table cluster join...

What is a table cluster? A table cluster joins several logical tables in the ABAP/4 Dictionary.  Various logical rows from different cluster tables are brought together in a o

Deductive inferences - artificial intelligence, Deductive Inferences - Arti...

Deductive Inferences - Artificial intelligence: We have described how knowledge can be represented in first-order logic, and how in logic rule-based expert systems expressed ca

What are the phases of swapping a page from the memory, What are the phases...

What are the phases of swapping a page from the memory? Page stealer searches the page eligible for swapping and places the page number in the list of pages to be swapped. K

Customer service and support in post purchase interaction, Describe the cus...

Describe the customer service and support in post purchase Interaction. Post purchase Interaction: The considerations at this step can be explained by the given example:

What is the use and function of file transfer protocol, What is the use and...

What is the use and function of File Transfer Protocol? FTP : File Transfer Protocol (FTP) is the protocol used upon the Internet for sending files and is usually used fo

Explain about workstations, Q. Explain about Workstations? The workstat...

Q. Explain about Workstations? The workstations are used for engineering applications like CAD/CAM or other types of applications which need a moderate computing power and rela

Write a program that finds the minimum total number of shelv, Write a progr...

Write a program that finds the minimum total number of shelv, C/C++ Programming

Ifstream on the input file, Write a main function that opens an ifstream on...

Write a main function that opens an ifstream on the input file, "person.dat".  If the stream cannot be  opened, output an error message and exit.       The file format is as foll

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