Microsoft KB Archive/111706

From BetaArchive Wiki
Knowledge Base


Article ID: 111706

Article Last Modified on 5/6/2003



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



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
                


Additional query words: 6.22 6.20 errmsg err message pathname

Keywords: KB111706