Article - 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.

Modified: 12-Apr-2021   


Applies To

  • Creo Parametric 1.0 to 7.0

Description

  • 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.
This is a printer-friendly version of Article 158182 and may be out of date. For the latest version click CS158182