Path

Author: 山西 郭建军 Date: 1996-05-31

        MS-DOS always searches in current directory first,before it searches directory in the search path. It searches for a executable file by using default filename extensions in the following order of precedence:.COM,.EXE,.and .BAT.If you place the PATH command in your AUTOEXEC.BAT file,you can specify more than one path for MS-DOS to search,and MS-DOS automatically initiates the specified search path every time you start the computer.
        路径
        使用MS-DOS文件操作命令时,有必要指明路径和驱动器。路径包括绝对路径和相对路径,从根目录符开始的路径称为绝对路径,从子目录名开始的称为相对路径。
        MS-DOS在搜索路径中搜索目录之前,总是首先搜索当前目录。使用缺省扩展名搜索可执行文件的顺序为: .COM,.EXE和.BAT。如果你在AUTOEXEC.BAT文件中设置PATH命令,就可以指明MS-DOS搜索多个路径,且每次启动计算机MS-DOS自动初始化指明的搜索路径。