REPLACE Error Message: "Path Not Found..." (111706)



The information in this article applies to:
    Microsoft MS-DOS operating system 5.0
    Microsoft MS-DOS operating system 5.0a
    Microsoft MS-DOS operating system 6.0
    Microsoft MS-DOS operating system 6.2
    Microsoft MS-DOS operating system 6.21
    Microsoft MS-DOS operating system 6.22

This article was previously published under Q111706

SYMPTOMS

The REPLACE command displays a "Path not found" error and does not update the files in the destination directory.

CAUSE

This error can occur if the destination directory name has an extension and you use "." or ".." path notation in the REPLACE command line. For example, if the destination directory is C:\TEST.DIR and you type the following command from the C:\TEST.DIR> prompt

replace c:\dos\*.com ..\test.dir

the result is:

Path not found - C:\TESTIR\
No files replaced

STATUS

Microsoft has confirmed this to be a problem in MS-DOS versions 5.0, 5.0a, 6.0, 6.2, and 6.21. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.

WORKAROUND

To work around this problem, specify the complete path on the REPLACE command line instead of using the "." or ".." notation. For example:
   replace c:\dos\*.com c:\test.dir

Modification Type: Major Last Reviewed: 5/6/2003
Keywords: KB111706