技術文章 - CS158182
The error message "CMD does not support UNC paths as current directories." is reported when a UNC path is used in a Windows Command Prompt.
修改時間: 12-Apr-2021
套用到
- Creo Parametric 1.0 to 7.0
描述
- The error message CMD does not support UNC paths as current directories. is reported when a UNC path is used in a Windows Command Prompt.
- When you call out CreateProcess on Cmd.exe, for example:
- CreateProcess(NULL, "cmd /c copy file1 file2", ....)
- and the current directory has been set to a universal naming convention (UNC), Cmd.exe returns the following message:
- '<UNC path>' is an invalid current directory path. UNC paths are not supported.
Defaulting to Windows directory.
- '<UNC path>' is an invalid current directory path. UNC paths are not supported.
This is a PDF version of Article 158182 and may be out of date. For the latest version CS158182