Introduction to the Command Line

Prior to learning GDAL or scripting it is important to learn the Command Line and how to use commands from the command prompt.

5. Copy, move, rename & delete files

5.1. Copy files

1. Now we can copy the file list.txt to a new file by typing:
copy list.txt newlist.txt <ENTER>

2. Check if the file is added to the directory

3. We can append text files with the copy command. Type:
copy list.txt+newlist.txt listappend.txt <ENTER>

4. Check the contents of the file listappend.txt.

5. We can also copy list.txt to subdirectory John:
copy list.txt john\newlist2.txt <ENTER>

6. Go to the subdirectory John and check the contents of the subdirectory.