The dir command lists all of the files and folders in your current directory while the cd command changes your current working directory.