Show example of copy command, Computer Engineering

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.

Posted Date: 7/6/2013 1:37:14 AM | Location : United States

Related Discussions:- Show example of copy command, Assignment Help, Ask Question on Show example of copy command, Get Answer, Expert's Help, Show example of copy command Discussions

Write discussion on Show example of copy command
Your posts are moderated
Related Questions
The do while Loop This is very similar to the while loop except that the test occurs at the end of the loop body. This guarantees that the loop is executed at least once before

Why can not data reader by returned from a Web Services Method? Ans) Due to, it is not serializable

Resolution Method: For a minor miracle occurred in 1965 where Alan Robinson published his resolution method as uses a method to generalised version of the resolution rule of i

Q. F' (A, B, C, D) = (A + B + D')(A + C' + D')(A + B' + C')        D' (A, B, C, D) = (A + B' + C + D')(A' + C' + D')(A' + B + D)        Find the simplified function F and imple

Fuzzy logic is a form of various-valued logic; it deals with reasoning that is approximate rather than fixed & exact. In contrast with traditional logic theory, where binary sets h

Conversion of the decimal number 82.67 into Hexadecimal ? Ans. (1010010.10101011) 2 is the binary equivalent of decimal number 82.67. Now convert each 4-bit binary into an equ

Write a CGI program that prints date and time at which it was run. #!/bin/sh # # CGI script that prints the date and time at which it was run # # Output the documen

What are the types of Subroutines? Internal Subroutines: The source code of the internal subroutines will be in the similar ABAP/4 program as the calling procedure (intern

advantages of dda line algoritm

What is compound statement If we wish to have more than one statement following the if or the else, they should be grouped together between curly brackets. Such a grouping is c