Every DOS Command has the following Parts
Path, Command, Additional options
Path: The path is the option part of the command and is not necessary to use. This portion specifies the location of the DOS Command. For internal command of the DOS the path is not used, because all the internal DOS commands are already presented in the memory. The command interpreter does not need to locate it. External commands are not present in memory. They need to specify location but if the file is to be used where it is present then we do not need to specify it. For example, we want to use DIR command. This is an internal command. We don't need to specify path. If we want to use an external command and it is on C:\temp and we want to use it in d:\work then we need to use this as D:\work> c:\temp\test.exe
Command: This is the name of the command. For example DIR, RENAME, FORMAT and etc.
Additional Options: Almost all the DOS commands have switches for additional options. DIR has /w, if we want to get director width wise. These options enhance the use of DOS commands and sometime are necessary to give these switches. In FORMAT command the switch is mandatory.
Path, Command, Additional options
Path: The path is the option part of the command and is not necessary to use. This portion specifies the location of the DOS Command. For internal command of the DOS the path is not used, because all the internal DOS commands are already presented in the memory. The command interpreter does not need to locate it. External commands are not present in memory. They need to specify location but if the file is to be used where it is present then we do not need to specify it. For example, we want to use DIR command. This is an internal command. We don't need to specify path. If we want to use an external command and it is on C:\temp and we want to use it in d:\work then we need to use this as D:\work> c:\temp\test.exe
Command: This is the name of the command. For example DIR, RENAME, FORMAT and etc.
Additional Options: Almost all the DOS commands have switches for additional options. DIR has /w, if we want to get director width wise. These options enhance the use of DOS commands and sometime are necessary to give these switches. In FORMAT command the switch is mandatory.