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.

3. Drives and Directories

3.1. Changing Drives

If you have different hard drives or partitions, you may need to change to another drive. If you are on drive C and you want to move to drive D you can type:

d:

at the prompt and press <ENTER>. You will now continue on drive D.  If you have another drive, it is recommended not to use drive C, because it contains your system files. In these exercises in the online DOS emulator, however, we'll use the C-drive only, it doesn't have other drives.