Article ID: 111706 - Last Review: May 6, 2003 - Revision: 2.0

REPLACE Error Message: "Path Not Found..."

This article was previously published under Q111706
Expand all | Collapse all

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
				

APPLIES TO
  • Microsoft MS-DOS 5.0 Standard Edition
  • Microsoft MS-DOS 5.0a
  • Microsoft MS-DOS 6.0 Standard Edition
  • Microsoft MS-DOS 6.2 Standard Edition
  • Microsoft MS-DOS 6.21 Standard Edition
  • Microsoft MS-DOS 6.22 Standard Edition
Keywords: 
KB111706
Retired KB ArticleRetired KB Content Disclaimer
This article was written about products for which Microsoft no longer offers support. Therefore, this article is offered "as is" and will no longer be updated.
 

Article Translations